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
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