[lxml-dev] LXML and persistence with the ZODB?

Marius Gedminas marius at pov.lt
Fri Jun 27 15:57:36 CEST 2008


On Thu, Jun 26, 2008 at 04:50:30PM -0500, Kenneth Miller wrote:
> Anyone done anything with this? I know it's simple enough to simply  
> store an XML string, but has anyone bothered with storying lxml objects?

I wouldn't even try.  ZODB is tricky to get right, especially if you're
trying to store mutable objects not designed to be stored in the ZODB.
And if future-compatibility with your old database is important, you
must commit to never renaming a class or an attribute, which is hard to do
when you rely on an external library without such commitment.

Marius Gedminas
-- 
Unix for stability;
Macs for productivity;
Palm for mobility;
Windows for Solitaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080627/e3741982/attachment.pgp 


More information about the lxml-dev mailing list