Possible PEP: Improve classmethod/staticmethod syntax
Steven Taschuk
staschuk at telusplanet.net
Wed Jun 4 14:33:40 EDT 2003
More information about the Python-list mailing list
Wed Jun 4 14:33:40 EDT 2003
- Previous message (by thread): Possible PEP: Improve classmethod/staticmethod syntax
- Next message (by thread): Possible PEP: Improve classmethod/staticmethod syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Quoth Aahz: [...] > No, Guido will insist on requiring a definition of a set function that > raises an exception if you want to make it read-only. For general descriptors, sure. But the existing property built-in doesn't require any such function to be provided explicitly; that is its default behaviour when fset=None. It would be reasonable for a special syntax for properties to have the same defaults. -- Steven Taschuk "The world will end if you get this wrong." staschuk at telusplanet.net -- "Typesetting Mathematics -- User's Guide", Brian Kernighan and Lorrinda Cherry
- Previous message (by thread): Possible PEP: Improve classmethod/staticmethod syntax
- Next message (by thread): Possible PEP: Improve classmethod/staticmethod syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list