Object copying itself
Jason Orendorff
jason at jorendorff.com
Mon Feb 18 14:41:57 EST 2002
Alex Martelli wrote:
> No, but following that with a specific and explicit deepcopying of
> the lists looks like a good, clear way to signal this extremely
> peculiar design intent that the OP has asserted.
I'm pretty sure the OP intended:
I need a deepcopy of __dict__, except don't copy instances
at all (instead, have the copy refer to the original instance
directly).
That's not what was said, so some sketchy inference is involved.
Eventually the OP will followup, I think, and straighten things out.
## Jason Orendorff http://www.jorendorff.com/
More information about the Python-list
mailing list