[Patches] [ python-Patches-419070 ] Fix #416670: register SRE types
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 18 Oct 2001 11:40:35 -0700
Patches item #419070, was opened at 2001-04-26 00:59
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=419070&group_id=5470
Category: None
Group: None
>Status: Closed
Resolution: None
>Priority: 3
Submitted By: Martin v. Löwis (loewis)
Assigned to: Fredrik Lundh (effbot)
Summary: Fix #416670: register SRE types
Initial Comment:
This patch registers the three SRE types in the copy
module as immutable, atomic types. This is not
completely correct, since pattern.groupindex is a
mutable object (a dictionary). Since nobody *should*
change that dictionary, treating it as immutable is
sufficient.
----------------------------------------------------------------------
>Comment By: Fredrik Lundh (effbot)
Date: 2001-10-18 11:40
Message:
Logged In: YES
user_id=38376
SRE has (almost) grown __copy__ and __deepcopy__
hooks instead. Just need to write some test code
before enabling it.
</F>
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=419070&group_id=5470