
30 Jan
2003
30 Jan
'03
2:19 p.m.
Some more thoughts on property syntax...
(1) It's a pity "access" was revoked as a keyword, since it would have fitted quite well:
access foo: def __get__(self): ... def __set__(self, x): ...
Is there any chance it could be reinstated?
(2) Maybe "property" could be recognised as a pseudo-keyword when it's the first word of a statement inside a class definition.
Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+