[Zope-dev] deepcopy of file object

Chris Withers chrisw@nipltd.com
Tue, 24 Apr 2001 17:09:35 +0100


Hi,

I've got an object of type OFS.Image.File and I want to make a copy of it.
I can't use the ObjectManager stuff, 'cos this object is being stored in a
BTree-ish thing in a quite different context from a Zope folder.

For obvious reasons, deepcopy(myfileobject) fails with a copy.error 'cos I don't
see the File class having a __deepcopy__ method.

Has anyone got any ideas or things that I might haev overlooked.

cheers,

Chris