[Python-Dev] PEP 318: Properties (original) (raw)

Phillip J. Eby pje at telecommunity.com
Sat Apr 3 17:42:54 EST 2004


At 03:24 PM 4/3/04 -0600, Skip Montanaro wrote:

That is, there is already an (otherwise invalid) 'x' in the calling scope when propget() is called. Do the property doodads just need to be bulletproofed or should an exception be raised?

If I recall correctly, the implementation someone contributed earlier this week (sorry I don't remember his name) raised an exception if the previous binding of the function name was not an instance of 'property'.



More information about the Python-Dev mailing list