Semi-newbie, rolling my own __deepcopy__
ladasky at my-deja.com
ladasky at my-deja.com
Fri Apr 22 21:35:57 EDT 2005
Michael Spencer wrote:
> ladasky at my-deja.com wrote:
> > I'm back...
> [wondering why copy.deepcopy barfs on array instances]
> >
>
> http://www.python.org/doc/2.3.3/lib/module-copy.html
> deepcopy:
> ...
> This version does not copy types like module, class, function,
method, stack
> trace, stack frame, file, socket, window, *array*, or any similar
types.
> ...
*smacks forehead*
Duh. Right in the docs. Too many late nights in front of the screeen.
Thanks, Michael...
--
Rainforest laid low.
"Wake up and smell the ozone,"
Says man with chainsaw.
John J. Ladasky Jr., Ph.D.
More information about the Python-list
mailing list