[Patches] [ python-Patches-661437 ] apply() should get PendingDeprecation

SourceForge.net noreply@sourceforge.net
Sun, 05 Jan 2003 13:34:04 -0800


Patches item #661437, was opened at 2003-01-02 21:59
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=661437&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: apply() should get PendingDeprecation

Initial Comment:
Submitting this so I don't forget about it <wink>.

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-01-05 16:34

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=661437&group_id=5470