Re: [Python-Dev] Python2.5 _sre deepcopy regression?

2008-11-03 Thread Andrew McNamara
prod I posted this week ago, but haven't seen any comments. Issue 416670 is probably the most relevent ticket. The buggy changeset I mention, 38430 on the release24-maint branch is one that had been forward and back-ported for a while. I haven't found the motivation for that change, but it hasn't

[Python-Dev] Python2.5 _sre deepcopy regression?

2008-10-22 Thread Andrew McNamara
In version of Python prior to 2.5, it would appear that deepcopying compiled regular expressions worked by accident: 2.4: copy.deepcopy(re.compile('')) _sre.SRE_Pattern object at 0xb7d53ef0 2.5: copy.deepcopy(re.compile('')) Traceback (most recent call last): File