[Python-checkins] python/dist/src/Python bltinmodule.c,2.303,2.304
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Fri Dec 5 12:34:30 EST 2003
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv24273
Modified Files:
bltinmodule.c
Log Message:
Remove the PendingDeprecationWarning from apply(). apply() will
remain deprecated in the documentation.
Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.303
retrieving revision 2.304
diff -C2 -d -r2.303 -r2.304
*** bltinmodule.c 16 Nov 2003 16:17:49 -0000 2.303
--- bltinmodule.c 5 Dec 2003 17:34:27 -0000 2.304
***************
*** 76,83 ****
PyObject *t = NULL, *retval = NULL;
- if (PyErr_Warn(PyExc_PendingDeprecationWarning,
- "use func(*args, **kwargs) instead of "
- "apply(func, args, kwargs)") < 0)
- return NULL;
if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict))
return NULL;
--- 76,79 ----
More information about the Python-checkins
mailing list