Re: decorators when?

2008-05-27 Thread Dan Bishop
On May 27, 7:32 pm, Kam-Hung Soh <[EMAIL PROTECTED]> wrote: > 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"

Re: When was feature FOO added to Python? (was: decorators when?)

2008-05-27 Thread Terry Reedy
"Ben Finney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | David C. Ullrich <[EMAIL PROTECTED]> writes: | | > What version added decorators (using the @decorator syntax)? | > | > (Is there a general way I could have found out the answer myself?) | | For standard library features,

Re: decorators when?

2008-05-27 Thread Kam-Hung Soh
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.pyth

When was feature FOO added to Python? (was: decorators when?)

2008-05-27 Thread Ben Finney
David C. Ullrich <[EMAIL PROTECTED]> writes: > What version added decorators (using the @decorator syntax)? > > (Is there a general way I could have found out the answer myself?) For standard library features, the documentation for a module http://www.python.org/doc/lib/> usually says "(New in 2