Guido van Rossum
e6eef4b4a3
Use __dict__.update(state) instead of for loop over state.items() and
...
call to setattr(). This changes semantics, following the change
already implemented in pickle.
Also reindented a few lines properly.
1997-10-26 17:00:25 +00:00
Guido van Rossum
abfdd70665
Add XXX note about wanting support for copy_reg.py...
1997-10-07 14:47:50 +00:00
Guido van Rossum
558be283bf
Make sure the objects returned by __getinitargs__() are kept alive (in
...
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.)
1997-08-20 22:26:19 +00:00
Guido van Rossum
f7cea10f80
Remove '(' in column 0 of doc strings.
...
Add dependency on dict.copy().
1997-05-28 19:31:14 +00:00
Guido van Rossum
6afff6139a
Memoize _deepcopy_tuple() -- maybe this helps Tommy's problem.
1996-06-17 17:10:11 +00:00
Guido van Rossum
fefbbe5085
fix bogus hasttr usage
1995-03-22 10:10:31 +00:00
Guido van Rossum
55d2f3997e
rename copy.Error to copy.error
1995-03-14 17:41:36 +00:00
Guido van Rossum
cc6764c1ba
added __doc__ strings etc.
1995-02-09 17:18:10 +00:00
Guido van Rossum
409780f8f2
shallow and deep copy operations
1995-01-10 00:34:21 +00:00