Message154013
The following behavior doesn't make sense, especially since it works correctly for other special attributes:
>>> class F:
__name__ = "Foo"
>>> F.__name__
'F'
>>> F().__name__
'Foo'
>>> F.__name__ = 'Foo'
>>> F.__name__
'Foo'
Works fine for __module__ and others:
>>> class F:
__module__ = "mod"
>>> F.__module__
'mod'
>>> F
<class mod.F at 0x0212B360> |
|
Date |
User |
Action |
Args |
2012-02-22 23:29:08 | eukreign | set | recipients:
+ eukreign |
2012-02-22 23:29:08 | eukreign | set | messageid: <1329953348.22.0.00582409575183.issue14092@psf.upfronthosting.co.za> |
2012-02-22 23:29:07 | eukreign | link | issue14092 messages |
2012-02-22 23:29:07 | eukreign | create | |
|