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 <rep...@bugs.python.org> <http://bugs.python.org/issue10076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com