[ZODB-Dev] Writing Persistent Class

Marius Gedminas mgedmin at b4net.lt
Sun Jan 20 17:08:03 EST 2008


On Fri, Jan 18, 2008 at 03:51:27PM -0600, Kenneth Miller wrote:
>      Yes, i realised that a little while ago. Thanks a ton for all of the 
> responses. My solution was to use deepcopy to make a copy of the object to 
> use for something else later on, is this appropriate?

Personally, I'd be afraid to use deepcopy on a persistent object.  Too
much magic may lead to an explosion.

Marius Gedminas
-- 
Hi. I'm the "I love you" .signature virus. You have been infected.
Please panic immediately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20080121/040f1f76/attachment.bin


More information about the ZODB-Dev mailing list