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

Guido van Rossum guido@digicool.com
Fri, 27 Apr 2001 08:30:31 -0500


[Sorry, this bounced -- my new work mail isn't set up right yet]

> > 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)

Why don't you ask what they were doing?  They cared enough to figure a
workaround *and* report a bug.  I think they deserve a better answer
than Won't Fix.

--Guido van Rossum (home page: http://www.python.org/~guido/)