[Python-Dev] Libref sections to put new modules under?
Nick Coghlan
ncoghlan at gmail.com
Tue Mar 28 12:11:48 CEST 2006
Phillip J. Eby wrote:
> What other new modules do we have going in 2.5 that haven't found a home in
> the documentation yet? I seem to recall some discussion about a decorator
> library or functools or something of that sort.
The suggestion with functools was to rename functional.partial to
functools.partial, and add a functools.decorator function.
The idea of the latter being that sticking @decorator on the front would be
enough to make a decorator function well-behaved (and future-proof).
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-Dev
mailing list