Roundup Robot 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 needed -> commi
New submission from Michael Foord :
>>> import re
>>> re.compile('foo')
<_sre.SRE_Pattern object at 0x1043230>
>>> p = re.compile('foo')
>>> p.__class__
Traceback (most recent call last):
File "", line 1, in
AttributeError: __class__
Already fixed in 3.2.
--
messages: 136193
nosy: mi