[lxml-dev] objectify factories
Stefan Behnel
stefan_ml at behnel.de
Mon Aug 20 09:41:51 CEST 2007
Hi Holger,
I finally looked a little closer at the latest patches you sent me. They
contain good ideas, but I'm still not very comfortable with the
implementation. I think the PT() factory should be folded into DataElement(),
as it's just a special case. I attached a patch that merges a part of your
latest factory patch and removes the need for the PT factory. Please check if
it does what you wanted and if anything is still missing.
Regarding the TypedElementMaker, I think that if we write one that is adapted
to objectify, we should not stop half-way. We should remove the "typemap"
thing and just use the type inference mechanisms that objectify already
provides. You can take a look into that, if you want, otherwise I will try to
come up with an implementation when I find the time (which may be after the
release of 2.0alpha1).
Holger, is this ok for you or is there any reason we should not go this way?
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partial-merge-holger-pt.patch
Type: text/x-diff
Size: 5788 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20070820/c5300782/attachment.bin
More information about the lxml-dev
mailing list