[Python-Dev] Re: [ python-Bugs-416670 ] MatchObjects not deepcopy()able

Fredrik Lundh fredrik@effbot.org
Thu, 26 Apr 2001 20:47:29 +0200


> In the re-Module which come with Python version 2.0
> (Nov 28 11:10 re.py) the created MatchObjects cannot be
> copied with a deepcopy(). Switching back to the old
> "pre.py" as proposed in "re.py" makes everything work
> ok.

thought I'd check this one with python-dev before marking
it as "won't fix".  I cannot see any reason why anyone would
even attempt to deepcopy match objects...

(cannot see any reason why anyone would use deepcopy for
anything, but that's another story)

Cheers /F