A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062942.html below:

[Python-Dev] Class decorators

[Python-Dev] Class decorators [Python-Dev] Class decoratorsGuido van Rossum guido at python.org
Tue Mar 28 20:01:44 CEST 2006
On 3/28/06, Samuele Pedroni <pedronis at strakt.com> 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/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4