En Thu, 08 Mar 2007 08:04:38 -0300, <[EMAIL PROTECTED]> escribió:
> Gabriel Genellina:
>> You miss this common way, that does not depend on metaclasses,
>> nor base classes, nor custom decorators...
>
> My purpose was to discuss a new syntax. The other stuff is mostly for
> reference, to show that
Gabriel Genellina:
> You miss this common way, that does not depend on metaclasses,
> nor base classes, nor custom decorators...
My purpose was to discuss a new syntax. The other stuff is mostly for
reference, to show that lot of (some) people has tried to find
alternative solutions to a problem t
En Thu, 08 Mar 2007 06:34:12 -0300, <[EMAIL PROTECTED]> escribió:
> Probably you have already discussed this topic, but maybe you can
> stand touching it again briefly.
> Maybe properties aren't used so often to deserve a specific syntax,
> but I don't like their syntax much. Here I show some alte
=
# The second version is cleaner, but at the moment it has a problem
with the property docstring (but that may be fixed) (it works with
Psyco):
class classpropertytype(property):
"Pythonic property syntax."
# Code from:
#
www.z3lab.org