decorators when?

Kam-Hung Soh kamhung.soh at gmail.com
Tue May 27 20:32:20 EDT 2008


David C. Ullrich wrote:
> What version added decorators (using the
> @decorator syntax)?
> 
> (Is there a general way I could have found out the answer myself?)
> 
> Is there a somthing such that "from __future__ import something"
> will make decorators work in 2.5.2?
> 
> 
> David C. Ullrich

See:

http://www.python.org/doc/2.4/whatsnew/whatsnew24.html

Dunno of a general way view a list of features versus releases, other 
than reading the "What's New in Python x" documents.  Maybe some 
enterprising developer can compile this list?  Hint, hint.

-- 
Kam-Hung Soh <a href="http://kamhungsoh.com/blog">Software Salariman</a>




More information about the Python-list mailing list