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/2004-August/046939.html below:

[Python-Dev] Call for defense of @decorators

[Python-Dev] Call for defense of @decorators [Python-Dev] Call for defense of @decoratorsNeil Schemenauer nas at arctrix.com
Thu Aug 5 22:53:16 CEST 2004
On Thu, Aug 05, 2004 at 10:16:16PM +0200, Ronald Oussoren wrote:
> On 5-aug-04, at 22:11, Neil Schemenauer wrote:
> >What I meant was if we have a nice syntax for setting function
> >attributes then the metaclass to transform the functions just
> >like a decorator could.
> 
> And how would that solve this: 
> <http://www.eby-sarna.com/pipermail/peak/2004-July/001598.html>

Is that supposed to be a good example how to use decorators?
Anyhow, obviously a metaclass won't work for module level functions
(unless you had a way of setting the metaclass of the module).

  Neil
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