Properties using metaclasses (was: Function/Method Decorator Syntax)
Moshe Zadka
m at moshez.org
Wed Jun 11 07:40:50 EDT 2003
On Wed, 11 Jun 2003, Gerrit Holl <gerrit at nl.linux.org> wrote:
> Just a question: Why would this be evil?
Because people expect
class x(EvilProperty):
pass
to be a *class* (albeit, new style), and not a *property*.
For example, doing X() would not give you an instance of X.
--
Moshe Zadka -- http://moshez.org/
Buffy: I don't like you hanging out with someone that... short.
Riley: Yeah, a lot of young people nowadays are experimenting with shortness.
Agile Programming Language -- http://www.python.org/
More information about the Python-list
mailing list