attribute decorators
Fredrik Lundh
fredrik at pythonware.com
Sat Dec 23 03:38:48 EST 2006
Doug Holton wrote:
> Don't mind Fredrik's trolling. Your examples are perfectly clear
if you understand how they would work, can you explain the semantics?
> however, a similar call for extending the use of decorators to other
> structures besides functions was rejected:
> http://lambda-the-ultimate.org/node/1389
class objects and class attributes are two rather different things. and
given how decorators work, that difference is rather important. can you
perhaps figure out why ?
</F>
More information about the Python-list
mailing list