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() should get PendingDeprecation
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: barry, jvr, nnorwitz
Priority: normal Keywords: patch

Created on 2003-01-03 02:59 by barry, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
apply.diff nnorwitz, 2003-01-05 21:34 add pending dep for apply() - 1
Messages (4)
msg42207 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-01-03 02:59
Submitting this so I don't forget about it <wink>.
msg42208 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-05 21:34
Logged In: YES 
user_id=33168

You mean, like these two lines at line 72 of
Python/bltinmodule.c :-)

+       PyErr_Warn(PyExc_PendingDeprecationWarning,
+                  "use func(*args, **kwargs) instead of
apply()");

Perhaps func should be function(...).
Let me know if you want me to check that in.  I did attach a
patch too.
msg42209 - (view) Author: Just van Rossum (jvr) * (Python triager) Date: 2003-02-03 14:52
Logged In: YES 
user_id=92689

I'd say, check it in, get it over with. The patch looks fine.
msg42210 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-02-03 20:30
Logged In: YES 
user_id=33168

Checked in as Python/bltinmodule.c  2.272
History
Date User Action Args
2022-04-10 16:06:05adminsetgithub: 37699
2003-01-03 02:59:48barrycreate