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.

Author benjamin.peterson
Recipients benjamin.peterson, eukreign
Date 2012-02-23.01:09:42
SpamBayes Score 0.0016298579
Marked as misclassified No
Message-id <1329959383.57.0.86492696398.issue14092@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is actually incorrect. Basically setting something in the class body is not equivalent to setting it as an attribute on the class.

This happens with other attributes. Consider

>>> class X:
...     __class__ = list
... 
>>> X.__class__
<class 'type'>
>>> X().__class__
<class 'list'>
History
Date User Action Args
2012-02-23 01:09:43benjamin.petersonsetrecipients: + benjamin.peterson, eukreign
2012-02-23 01:09:43benjamin.petersonsetmessageid: <1329959383.57.0.86492696398.issue14092@psf.upfronthosting.co.za>
2012-02-23 01:09:42benjamin.petersonlinkissue14092 messages
2012-02-23 01:09:42benjamin.petersoncreate