summaryrefslogtreecommitdiffstats
path: root/Lib/copy.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't die if CodeType doesn't exist -- ignore the error. This couldGuido van Rossum1999-01-251-1/+4
| | | | happen in restricted mode.
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-261-14/+14
|
* As Mike Fletcher pointed out, a __deepcopy__() method should be calledGuido van Rossum1998-03-131-1/+1
| | | | with the memo as an argument.
* Apply the same change to classes without an __getinitargs__() methodGuido van Rossum1997-12-071-5/+11
| | | | as in pickle: the new instance is created without calling __init__().
* Use __dict__.update(state) instead of for loop over state.items() andGuido van Rossum1997-10-261-11/+9
| | | | | | | call to setattr(). This changes semantics, following the change already implemented in pickle. Also reindented a few lines properly.
* Add XXX note about wanting support for copy_reg.py...Guido van Rossum1997-10-071-0/+2
|
* Make sure the objects returned by __getinitargs__() are kept alive (inGuido van Rossum1997-08-201-0/+18
| | | | | | the memo) to avoid a certain kind of nasty crash. (Not easily reproducable because it requires a later call to __getinitargs__() to return a tuple that happens to be allocated at the same address.)
* Remove '(' in column 0 of doc strings.Guido van Rossum1997-05-281-10/+12
| | | | Add dependency on dict.copy().
* Memoize _deepcopy_tuple() -- maybe this helps Tommy's problem.Guido van Rossum1996-06-171-2/+6
|
* fix bogus hasttr usageGuido van Rossum1995-03-221-2/+2
|
* rename copy.Error to copy.errorGuido van Rossum1995-03-141-5/+8
|
* added __doc__ strings etc.Guido van Rossum1995-02-091-34/+64
|
* shallow and deep copy operationsGuido van Rossum1995-01-101-0/+240