SF #661437, apply() should get PendingDeprecation
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 54a9afd..466fab9 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -73,6 +73,9 @@
PyObject *func, *alist = NULL, *kwdict = NULL;
PyObject *t = NULL, *retval = NULL;
+ PyErr_Warn(PyExc_PendingDeprecationWarning,
+ "use func(*args, **kwargs) instead of "
+ "apply(func, args, kwargs)");
if (!PyArg_UnpackTuple(args, "apply", 1, 3, &func, &alist, &kwdict))
return NULL;
if (alist != NULL) {