[Python-Dev] Declaring setters with getters
lists at cheimes.de
Wed Oct 31 20:33:22 CET 2007
Guido van Rossum wrote:
> I'd like to make this a standard built-in, in the hope the debate on
> how to declare settable properties.
It's still not as good as the C# way to create a property but it's so
simple and obvious that it's ingenious again. Every other implementation
would either require support from the parser or some metaclass magic.
Your KISS approach rocks! :)
More information about the Python-Dev