[Python-3000-checkins] r55801 - python/branches/py3k-struni/Lib/copy.py
walter.doerwald
python-3000-checkins at python.org
Thu Jun 7 15:11:05 CEST 2007
Author: walter.doerwald
Date: Thu Jun 7 15:11:04 2007
New Revision: 55801
Modified:
python/branches/py3k-struni/Lib/copy.py
Log:
Register a dispatcher for str8. (This makes test_copy.py pass again.)
Make registeration of str dispatcher unconditional.
Modified: python/branches/py3k-struni/Lib/copy.py
==============================================================================
--- python/branches/py3k-struni/Lib/copy.py (original)
+++ python/branches/py3k-struni/Lib/copy.py Thu Jun 7 15:11:04 2007
@@ -184,12 +184,9 @@
d[complex] = _deepcopy_atomic
except NameError:
pass
+d[str8] = _deepcopy_atomic
d[str] = _deepcopy_atomic
try:
- d[str] = _deepcopy_atomic
-except NameError:
- pass
-try:
d[types.CodeType] = _deepcopy_atomic
except AttributeError:
pass
More information about the Python-3000-checkins
mailing list