summaryrefslogtreecommitdiff
path: root/Lib/copy.py
AgeCommit message (Expand)AuthorLines
2010-09-04Merged revisions 84495-84496 via svnmerge fromAntoine Pitrou-11/+23
2009-11-28Issue #1515: Enable use of deepcopy() with instance methods. Patch by Robert...Antoine Pitrou-0/+4
2009-05-15Issue #2116: Weak references and weak dictionaries now support copy()ing and ...Antoine Pitrou-1/+3
2008-05-23Revert the renaming of repr to reprlib.Brett Cannon-9/+10
2008-05-20Revert copy_reg -> copyreg rename.Georg Brandl-1/+1
2008-05-16Changed references to the reprlib module to use its new name.Alexandre Vassalotti-10/+9
2008-05-11Added module stub for copy_reg renaming in 3.0.Alexandre Vassalotti-1/+1
2008-03-24Issue 2460: Make Ellipsis objects copyable.Raymond Hettinger-1/+2
2006-02-26Whitespace normalization.Tim Peters-1/+1
2006-02-25- Patch 1433928:Guido van Rossum-1/+3
2005-06-13SF bug #1219361 Fix typoRaymond Hettinger-1/+1
2005-03-08Build with --disable-unicode again. Fixes #1158607.Martin v. Löwis-2/+2
2005-02-07Reduce the usage of the types module.Raymond Hettinger-14/+14
2004-03-08Refactor the copy dispatcher code in copy.py. Simplifies and shortensRaymond Hettinger-33/+15
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