[issue10076] Regex objects became uncopyable in 2.5

Michael Shields report at bugs.python.org
Mon Aug 27 22:20:25 CEST 2012


Michael Shields added the comment:

It's not strictly necessary that re objects be copyable, but there's no reason to break it either.  It's not strictly necessary that str or int be copyable either.

This came up in code that had objects with a number of members, one of which was a regexp pattern object.  deepcopy of this object broke in 2.5.

----------
nosy: +shields

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10076>
_______________________________________


More information about the Python-bugs-list mailing list