RE: distutils and decorators

2005-09-23 Thread Robert Brewer
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

Re: distutils and decorators

2005-09-21 Thread Benji York
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

RE: distutils and decorators

2005-09-21 Thread Robert Brewer
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

Re: distutils and decorators

2005-09-21 Thread Benji York
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

distutils and decorators

2005-09-21 Thread Robert Brewer
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