[Zope-dev] apply()'s PendingDeprecationWarning

Fred L. Drake, Jr. fred at zope.com
Fri Dec 5 13:14:49 EST 2003


Python 2.3, 2.3.1, and 2.3.2 generate a PendingDeprecationWarning when
apply() is called.  This is reasonable since apply() has been
deprecated, but can be a real nuissance for code that intends to be
portable to Python versions back to 1.5.2.  Unfortunately, the logging
package distributed with Python has that constraint (don't ask why,
please; I really don't know!).  Anyone watching the results of the
test runs has probably noticed that these warnings are polluting the
test output still, and aren't being triggered by Zope code.

Guido has conceded that these warnings can be removed from Python, so
I've removed them for the upcoming Python 2.3.3 release as well as for
the future Python 2.4.

Just thought everyone would be thrilled to know.  ;-)


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation



More information about the Zope-Dev mailing list