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