On 3/28/06, Samuele Pedroni <[EMAIL PROTECTED]> wrote: > Mike Krell wrote: > >Greg Ewing <greg.ewing <at> canterbury.ac.nz> writes: > >>I've just been playing around with metaclasses, and > >>I think I've stumbled across a reason for having > >>class decorators as an alternative to metaclasses > >>for some purposes. > > > >There has also been discussion on the IronPython mailing list that class > >decorators would be a very useful syntax for expressing .NET attributes. > > > >http://lists.ironpython.com/pipermail/users-ironpython.com/2006-March/002007.html
> the same is true for Jython and Java annotations. OK, I'm convinced (mostly by the awful hackery that Phillip so proudly exposed :-). I propose that someone start writing a Py3k PEP for class decorators. I don't think it's fair to the 2.5 release team to want to push this into 2.5 though; how about 2.6? -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com