Issue #26202: copy.deepcopy() now correctly copies range() objects with
non-atomic attributes.
This commit is contained in:
@@ -207,7 +207,6 @@ try:
|
||||
except AttributeError:
|
||||
pass
|
||||
d[type] = _deepcopy_atomic
|
||||
d[range] = _deepcopy_atomic
|
||||
d[types.BuiltinFunctionType] = _deepcopy_atomic
|
||||
d[types.FunctionType] = _deepcopy_atomic
|
||||
d[weakref.ref] = _deepcopy_atomic
|
||||
|
||||
Reference in New Issue
Block a user