from __future__ import decorators

Jacek Generowicz jacek.generowicz at cern.ch
Thu Jan 13 04:54:04 EST 2005


I have some code, which makes copious use of the @decorator syntax
which was introduced in Python2.4. Now I find myself in a situation
where I have to run the code under Python 2.3. However, I would like
to keep developing the code with the new syntax.

How could I best automate the process of making the syntax digestible
by Python2.3 ?




More information about the Python-list mailing list