summaryrefslogtreecommitdiff
path: root/Lib/copy.py
AgeCommit message (Expand)AuthorLines
2005-02-06fix bug 1114776Alex Martelli-1/+2
2005-01-25copy.py fixed to first lookup __copy__ from the instance being copied,Anthony Baxter-3/+18
2003-06-14Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.Martin v. Löwis-0/+2
2003-06-13SF patch 707900, fixing bug 702858, by Steven Taschuk.Guido van Rossum-0/+1
2003-02-27Get rid of many apply() calls.Guido van Rossum-2/+2
2003-02-19Whitespace normalization.Tim Peters-1/+1
2003-02-19Remove now unused _better_reduce.Guido van Rossum-1/+1
2003-02-19Use __reduce_ex__ in copy.py. The test_*copy_cant() tests are simpler again.Guido van Rossum-21/+33
2003-02-07Somehow, copy() of a classic class object was handledGuido van Rossum-0/+1
2003-02-07Add support for copy_reg.dispatch_table.Guido van Rossum-48/+50
2003-02-06Move _better_reduce from copy.py to copy_reg.py, and also use it inGuido van Rossum-41/+1
2003-02-06Fix a bug in the way __getnewargs__ was handled.Guido van Rossum-1/+1
2003-02-06Support all the new stuff supported by the new pickle code:Guido van Rossum-11/+64
2003-02-06Support __reduce__ returning a 4-tuple or 5-tuple.Guido van Rossum-1/+20
2003-01-16Support copying booleans. Fixes #668925.Martin v. Löwis-0/+2
2002-08-12Make sure that *any* object whose id() is used as a memo key is keptGuido van Rossum-2/+1
2002-06-10SF patch 560794 (Greg Chapman): deepcopy can't handle customGuido van Rossum-8/+15
2002-06-06Fix from SF patch 565085: copy._reduction doesn't __setstate__.Guido van Rossum-1/+4
2002-06-02Replaced .keys() with dictionary iteratorsRaymond Hettinger-4/+4
2002-06-01SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger-1/+1
2002-02-28SF patch 518765 (Derek Harland): Bug in copy.py when used throughGuido van Rossum-1/+4
2001-12-28Fix for SF bug ##497426: can't deepcopy recursive new objectsGuido van Rossum-4/+6
2001-09-28Add complex to the dispatch tables, to avoid going through the wholeGuido van Rossum-0/+8
2001-09-28Changes to copy() and deepcopy() in copy.py to support __reduce__ as aGuido van Rossum-7/+39
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-2/+8
2001-01-20added __all__ lists to a number of Python modulesSkip Montanaro-0/+2
2001-01-14Whitespace normalization.Tim Peters-178/+178
2000-11-27Patch by Finn Bock to support PyStringMap in Jython.Guido van Rossum-0/+9
2000-09-07Added Unicode objects to the copy mechanism. Since these are immutable,Marc-André Lemburg-0/+2
2000-08-17Convert some old-style string exceptions to class exceptions.Fred Drake-2/+3
2000-02-04Actually, the previous batch's comment should have been different;Guido van Rossum-3/+1
1999-01-25Don't die if CodeType doesn't exist -- ignore the error. This couldGuido van Rossum-1/+4
1998-03-26A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum-13/+13
1998-03-13As Mike Fletcher pointed out, a __deepcopy__() method should be calledGuido van Rossum-1/+1
1997-12-07Apply the same change to classes without an __getinitargs__() methodGuido van Rossum-5/+11
1997-10-26Use __dict__.update(state) instead of for loop over state.items() andGuido van Rossum-11/+9
1997-10-07Add XXX note about wanting support for copy_reg.py...Guido van Rossum-0/+2
1997-08-20Make sure the objects returned by __getinitargs__() are kept alive (inGuido van Rossum-0/+18
1997-05-28Remove '(' in column 0 of doc strings.Guido van Rossum-10/+12
1996-06-17Memoize _deepcopy_tuple() -- maybe this helps Tommy's problem.Guido van Rossum-2/+6
1995-03-22fix bogus hasttr usageGuido van Rossum-2/+2
1995-03-14rename copy.Error to copy.errorGuido van Rossum-5/+8
1995-02-09added __doc__ strings etc.Guido van Rossum-34/+64
1995-01-10shallow and deep copy operationsGuido van Rossum-0/+240