[Python-Dev] Changes to logging in CVS

M.-A. Lemburg mal@lemburg.com
Sun, 02 Mar 2003 20:23:26 +0100


Vinay Sajip wrote:
> I see that recent changes were made in logging/__init__.py to replace the
> use of "apply(func, args)" with "func(*args)". Doesn't this cause "invalid
> syntax" problems with 1.5.2? I explicitly coded using apply because I
> thought it was needed for 1.5.2. There are a few places where I've eschewed
> use of +=, for the same reason. Any chance we could change back to using
> apply()?

You should mark the files you need 1.5.2 compatibility for in the
source code. Even though PEP 291 mentions your package, I don't
think that everybody knows about this PEP...

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Mar 02 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
Python UK 2003, Oxford:                                     30 days left
EuroPython 2003, Charleroi, Belgium:                       114 days left