This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: apply.__doc__ says "Deprecated since release 2.3"
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: exarkun, rhettinger
Priority: normal Keywords:

Created on 2004-10-02 18:12 by exarkun, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg22589 - (view) Author: Jean-Paul Calderone (exarkun) * (Python committer) Date: 2004-10-02 18:12
This is confusing, since using apply does not log a
DeprecationWarning, nor a PendingDeprecationWarning,
even in Python 2.4.  I think "Deprecated since release
2.3" should be removed or replaced with text indicating
that apply() is simply not preferred by all people.
msg22590 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-10-02 22:33
Logged In: YES 
user_id=80475

The function is in-fact deprecated (albiet at a glacial rate
waiting for Py3.0).  Rather that being "not preferred", it
should not be used at all.  The f(*args, **kwds) approach is
now the one way to do it.

In the docs, apply() was moved to a section for "things you
don't need to learn about but are still there."  We removed
the warning in Py2.4 because it was doing more harm than
good.  IOW, we can deprecate it without making people's
lives miserable.
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 40979
2004-10-02 18:12:06exarkuncreate