- 26 Şub, 2006 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 25 Şub, 2006 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- The copy module now "copies" function objects (as atomic objects). - dict.__getitem__ now looks for a __missing__ hook before raising KeyError. - Added a new type, defaultdict, to the collections module. This uses the new __missing__ hook behavior added to dict (see above).
-
- 13 Haz, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 08 Mar, 2005 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Will backport to 2.4.
-
- 07 Şub, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 08 Mar, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
the code by grouping common cases together.
-
- 14 Haz, 2003 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 13 Haz, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Copying a new-style class that had a reference to itself didn't work. (The same thing worked fine for old-style classes.)
-
- 27 Şub, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 19 Şub, 2003 3 kayıt (commit)
-
-
Tim Peters yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 07 Şub, 2003 2 kayıt (commit)
-
-
Guido van Rossum yazdı
atomically, but deepcopy() didn't support this at all. I don't see any reason for this, so I'm adding ClassType to the set of types that are deep-copied atomically.
-
Guido van Rossum yazdı
Rewrote copy() and deepcopy() without avoidable try/except statements; getattr(x, name, None) or dict.get() are much faster than try/except.
-
- 06 Şub, 2003 4 kayıt (commit)
-
-
Guido van Rossum yazdı
pickle.py, where it makes save_newobj() unnecessary. Tests pass.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
- subclasses of list or dict - __reduce__ returning a 4-tuple or 5-tuple - slots
-
Guido van Rossum yazdı
-
- 16 Ock, 2003 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 12 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
alive in the memo. This fixes SF bug 592567.
-
- 10 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
metaclasses. This is essentially the same problem as that reported in bug 494904 for pickle: deepcopy should treat instances of custom metaclasses the same way it treats instances of type 'type'. Bugfix candidate.
-
- 06 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__).
-
- 02 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 01 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 28 Şub, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
rexec. When using a restricted environment, imports of copy will fail with an AttributeError when trying to access types.CodeType. Bugfix candidate (all the way back to 1.5.3, but at least 2.1.3 and 2.2.1).
-
- 28 Ara, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
deepcopy(), _reconstruct(): pass the memo to the other function, so that recursive data structures built out of new-style objects may be deeply copied correctly. 2.2.1 bugfix!
-
- 28 Eyl, 2001 2 kayıt (commit)
-
-
Guido van Rossum yazdı
rigmarole of __reduce__.
-
Guido van Rossum yazdı
fallback for objects that are neither supported by our dispatch table nor have a __copy__ or __deepcopy__ method. Changes to _reduce() in copy_reg.py to support reducing objects that don't have a __dict__ -- copy.copy(complex()) now invokes _reduce(). Add tests for copy.copy() and copy.deepcopy() to test_regrtest.py.
-
- 17 Agu, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
-
- 20 Ock, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
-
- 14 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 27 Kas, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 07 Eyl, 2000 1 kayıt (commit)
-
-
Marc-André Lemburg yazdı
they are copied as atomic types.
-
- 17 Agu, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 04 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
*this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
-
- 25 Ock, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
happen in restricted mode.
-
- 26 Mar, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 13 Mar, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
with the memo as an argument.
-
- 07 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
as in pickle: the new instance is created without calling __init__().
-
- 26 Eki, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
call to setattr(). This changes semantics, following the change already implemented in pickle. Also reindented a few lines properly.
-