This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix #416670: register SRE types
Type: Stage:
Components: None Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: effbot Nosy List: effbot, loewis
Priority: low Keywords: patch

Created on 2001-04-26 07:59 by loewis, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
copy.patch loewis, 2001-04-26 07:59
test_copy.py loewis, 2001-04-26 08:00
Messages (2)
msg36458 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-04-26 07:59
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.
msg36459 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2001-10-18 18:40
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>
History
Date User Action Args
2022-04-10 16:04:00adminsetgithub: 34417
2007-09-13 23:11:35brett.cannonunlinkissue416670 dependencies
2007-09-13 23:09:00brett.cannonlinkissue416670 dependencies
2001-04-26 07:59:22loewiscreate