Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
41d13f61d289a16eb27675e6ed5be8427be743ac
/
Lib
/
copy.py
f0e3569
Refactor the copy dispatcher code in copy.py. Simplifies and shortens
by Raymond Hettinger
· 20 years ago
ba8f5ff
Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.
by Martin v. Löwis
· 21 years ago
99d2c25
SF patch 707900, fixing bug 702858, by Steven Taschuk.
by Guido van Rossum
· 21 years ago
68468eb
Get rid of many apply() calls.
by Guido van Rossum
· 21 years ago
f2715e0
Whitespace normalization.
by Tim Peters
· 22 years ago
9c9cf41
Remove now unused _better_reduce.
by Guido van Rossum
· 22 years ago
e690883
Use __reduce_ex__ in copy.py. The test_*copy_cant() tests are simpler again.
by Guido van Rossum
· 22 years ago
1dca482
Somehow, copy() of a classic class object was handled
by Guido van Rossum
· 22 years ago
c06e3ac
Add support for copy_reg.dispatch_table.
by Guido van Rossum
· 22 years ago
5aac4e6
Move _better_reduce from copy.py to copy_reg.py, and also use it in
by Guido van Rossum
· 22 years ago
85233bf
Fix a bug in the way __getnewargs__ was handled.
by Guido van Rossum
· 22 years ago
c755758
Support all the new stuff supported by the new pickle code:
by Guido van Rossum
· 22 years ago
90e05b0
Support __reduce__ returning a 4-tuple or 5-tuple.
by Guido van Rossum
· 22 years ago
71b7556
Support copying booleans. Fixes #668925.
by Martin v. Löwis
· 22 years ago
6115460
Make sure that *any* object whose id() is used as a memo key is kept
by Guido van Rossum
· 22 years ago
11ade1d
SF patch 560794 (Greg Chapman): deepcopy can't handle custom metaclasses.
by Guido van Rossum
· 22 years ago
3e3583c
Fix from SF patch 565085: copy._reduction doesn't __setstate__.
by Guido van Rossum
· 22 years ago
e0d4972
Replaced .keys() with dictionary iterators
by Raymond Hettinger
· 22 years ago
54f0222
SF 563203. Replaced 'has_key()' with 'in'.
by Raymond Hettinger
· 22 years ago
88b666c
SF patch 518765 (Derek Harland): Bug in copy.py when used through rexec.
by Guido van Rossum
· 22 years ago
1e91c14
Fix for SF bug ##497426: can't deepcopy recursive new objects
by Guido van Rossum
· 23 years ago
8b9def3
Add complex to the dispatch tables, to avoid going through the whole
by Guido van Rossum
· 23 years ago
6cef6d5
Changes to copy() and deepcopy() in copy.py to support __reduce__ as a
by Guido van Rossum
· 23 years ago
339d0f7
Patch #445762: Support --disable-unicode
by Martin v. Löwis
· 23 years ago
e99d5ea
added __all__ lists to a number of Python modules
by Skip Montanaro
· 24 years ago
88869f9
Whitespace normalization.
by Tim Peters
· 24 years ago
f8baad0
Patch by Finn Bock to support PyStringMap in Jython.
by Guido van Rossum
· 24 years ago
f156a44
Added Unicode objects to the copy mechanism. Since these are immutable,
by Marc-André Lemburg
· 24 years ago
227b120
Convert some old-style string exceptions to class exceptions.
by Fred Drake
· 24 years ago
4b8c6ea
Actually, the previous batch's comment should have been different;
by Guido van Rossum
· 25 years ago
2fff84d
Don't die if CodeType doesn't exist -- ignore the error. This could
by Guido van Rossum
· 26 years ago
8ca8420
A few lines were indented using spaces instead of tabs -- fix them.
by Guido van Rossum
· 26 years ago
677fc84
As Mike Fletcher pointed out, a __deepcopy__() method should be called
by Guido van Rossum
· 26 years ago
c5d2d51
Apply the same change to classes without an __getinitargs__() method
by Guido van Rossum
· 27 years ago
e6eef4b
Use __dict__.update(state) instead of for loop over state.items() and
by Guido van Rossum
· 27 years ago
abfdd70
Add XXX note about wanting support for copy_reg.py...
by Guido van Rossum
· 27 years ago
558be28
Make sure the objects returned by __getinitargs__() are kept alive (in
by Guido van Rossum
· 27 years ago
f7cea10
Remove '(' in column 0 of doc strings. Add dependency on dict.copy().
by Guido van Rossum
· 27 years ago
6afff61
Memoize _deepcopy_tuple() -- maybe this helps Tommy's problem.
by Guido van Rossum
· 28 years ago
fefbbe5
fix bogus hasttr usage
by Guido van Rossum
· 29 years ago
55d2f39
rename copy.Error to copy.error
by Guido van Rossum
· 29 years ago
cc6764c
added __doc__ strings etc.
by Guido van Rossum
· 30 years ago
409780f
shallow and deep copy operations
by Guido van Rossum
· 30 years ago