Re: from __future__ import decorators

2005-01-17 Thread Jacek Generowicz
Tim Roberts <[EMAIL PROTECTED]> writes: > Jacek Generowicz <[EMAIL PROTECTED]> wrote: > > > >I have some code, which makes copious use of the @decorator syntax > > I'm very curious to know what kind of application you are writing in which > "copious use of the @decorator syntax" actually solved a

Re: from __future__ import decorators

2005-01-15 Thread Tim Roberts
Jacek Generowicz <[EMAIL PROTECTED]> wrote: > >I have some code, which makes copious use of the @decorator syntax I'm very curious to know what kind of application you are writing in which "copious use of the @decorator syntax" actually solved a problem productively. -- - Tim Roberts, [EMAIL PROT

Re: from __future__ import decorators

2005-01-13 Thread Jacek Generowicz
Skip Montanaro <[EMAIL PROTECTED]> writes: > Jacek> Crazy idea ... would it be possible to shadow 2.3's parser with > Jacek> one stolen from 2.4 ? > > If you're willing to go to that much trouble, why not just upgrade to 2.4? *I* upgraded to 2.4 sometime when it was in alpha. -- http://

Re: from __future__ import decorators

2005-01-13 Thread Peter Otten
Jacek Generowicz wrote: > 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 coul

Re: from __future__ import decorators

2005-01-13 Thread Skip Montanaro
Jacek> Crazy idea ... would it be possible to shadow 2.3's parser with Jacek> one stolen from 2.4 ? If you're willing to go to that much trouble, why not just upgrade to 2.4? Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: from __future__ import decorators

2005-01-13 Thread Jacek Generowicz
Peter Otten <[EMAIL PROTECTED]> writes: > Have a look at Bill Mill's redecorate utility: > > http://llimllib.f2o.org/files/redecorate.py Heh, this is exactly the sort of thing I wanted do avoid writing, as it would be difficult to get right. Looks like it's author has similar feelings. However,

Re: from __future__ import decorators

2005-01-13 Thread Jacek Generowicz
Thomas Heller <[EMAIL PROTECTED]> writes: > Jacek Generowicz <[EMAIL PROTECTED]> writes: > > > 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 w

Re: from __future__ import decorators

2005-01-13 Thread Thomas Heller
Jacek Generowicz <[EMAIL PROTECTED]> writes: > 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

from __future__ import decorators

2005-01-13 Thread Jacek Generowicz
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 maki