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 christian.heimes
Recipients benjamin.peterson, christian.heimes, georg.brandl, nnorwitz, skip.montanaro
Date 2008-08-24.16:13:57
SpamBayes Score 0.012135129
Marked as misclassified No
Message-id <1219594438.83.0.522634281632.issue3658@psf.upfronthosting.co.za>
In-reply-to
Content
No, they don't work correctly. Readonly properties in old style classes
aren't readonly:

>>> class Example:
...     @property
...     def spam(self):
...         return "spam"
...
>>> example = Example()
>>> example.spam
'spam'
>>> example.spam = "egg"
>>> example.spam
'egg'
History
Date User Action Args
2008-08-24 16:13:58christian.heimessetrecipients: + christian.heimes, skip.montanaro, nnorwitz, georg.brandl, benjamin.peterson
2008-08-24 16:13:58christian.heimessetmessageid: <1219594438.83.0.522634281632.issue3658@psf.upfronthosting.co.za>
2008-08-24 16:13:58christian.heimeslinkissue3658 messages
2008-08-24 16:13:57christian.heimescreate