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 pitrou
Recipients benjamin.peterson, pitrou
Date 2011-08-16.22:44:41
SpamBayes Score 0.00030121618
Marked as misclassified No
Message-id <1313534682.05.0.56196463174.issue12766@psf.upfronthosting.co.za>
In-reply-to
Content
>>> class Foo:
...    __slots__ = ['foo']
...    foo = None
... 
>>> x = Foo()
>>> x.foo
>>> x.foo = 5
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Foo' object attribute 'foo' is read-only
History
Date User Action Args
2011-08-16 22:44:42pitrousetrecipients: + pitrou, benjamin.peterson
2011-08-16 22:44:42pitrousetmessageid: <1313534682.05.0.56196463174.issue12766@psf.upfronthosting.co.za>
2011-08-16 22:44:41pitroulinkissue12766 messages
2011-08-16 22:44:41pitroucreate