[Python-ideas] Properties for classes possible?
Thomas Güttler
guettliml at thomas-guettler.de
Thu Aug 20 08:54:01 CEST 2015
I think it would be great to have properties for classes in Python2 and Python3
There are some "patterns" to get this working:
http://stackoverflow.com/questions/5189699/how-can-i-make-a-class-property-in-python
http://stackoverflow.com/questions/128573/using-property-on-classmethods
... but an official solution would be more "zen of python".
Do you think properties for classes would be useful?
If it works for classes, then it could be used for modules, too?
Regards,
Thomas Güttler
PS: my first post via google groups web interface did not arrive here. That's
the second try. Now via mail.
--
Thomas Guettler http://www.thomas-guettler.de/
More information about the Python-ideas
mailing list