[issue12099] re pattern objects have no __class__

2011-05-17 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: import re re.compile('foo') _sre.SRE_Pattern object at 0x1043230 p = re.compile('foo') p.__class__ Traceback (most recent call last): File stdin, line 1, in module AttributeError: __class__ Already fixed in 3.2. --

[issue12099] re pattern objects have no __class__

2011-05-17 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c9df95b57af3 by Benjamin Peterson in branch '2.7': stop using the old brain-dead interface for providing attributes/methods http://hg.python.org/cpython/rev/c9df95b57af3 -- nosy: +python-dev resolution: - fixed stage: test