Benji York wrote:
> Robert Brewer wrote:
> > Actually, in this case we most definitely want to test
> > 2.4's "@" syntax. The decorator in question is an aliaser,
> > and therefore is one of the few
> > decorators which must be implemented differently for the 2.3-style
> > decoration and the 2.4
Robert Brewer wrote:
> Actually, in this case we most definitely want to test 2.4's "@" syntax.
> The decorator in question is an aliaser, and therefore is one of the few
> decorators which must be implemented differently for the 2.3-style
> decoration and the 2.4-style. See the "expose" functio
Title: RE: distutils and decorators
I wrote:
> We're trying to get CherryPy 2.1 RC 1 out the door, but setup.py is
> giving us some problems.
> In our test suite, we want to test a decorator
> that we provide. Of course, decorators won't work in Python 2.3
and Benj
Robert Brewer wrote:
> We're trying to get CherryPy 2.1 RC 1 out the door, but setup.py is
> giving us some problems.
I don't know anything about distutils, so I can't help you there, but I
never-the-less can't resist speaking up...
> In our test suite, we want to test a decorator
> that we pro
We're trying to get CherryPy 2.1 RC 1 out the door, but setup.py is
giving us some problems. In our test suite, we want to test a decorator
that we provide. Of course, decorators won't work in Python 2.3, so I
put the actual decorated functions into a separate module, and import it
into the test su