Message71841
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' |
|
Date |
User |
Action |
Args |
2008-08-24 16:13:58 | christian.heimes | set | recipients:
+ christian.heimes, skip.montanaro, nnorwitz, georg.brandl, benjamin.peterson |
2008-08-24 16:13:58 | christian.heimes | set | messageid: <1219594438.83.0.522634281632.issue3658@psf.upfronthosting.co.za> |
2008-08-24 16:13:58 | christian.heimes | link | issue3658 messages |
2008-08-24 16:13:57 | christian.heimes | create | |
|