Message283391
If the behaviour of PyObject_CallFunction(func, "O", arg) is changed, an application relying on the current behaviour would have to replace:
res = PyObject_CallFunction(func, "O", arg);
with:
/* code working on any Python version */
if (PyTuple_Check(arg))
res = PyObject_Call(func, arg, NULL);
else
res = PyObject_CallFunction(func, "O", arg); |
|
Date |
User |
Action |
Args |
2016-12-16 08:14:52 | vstinner | set | recipients:
+ vstinner, docs@python, serhiy.storchaka |
2016-12-16 08:14:52 | vstinner | set | messageid: <1481876092.65.0.30455244179.issue28977@psf.upfronthosting.co.za> |
2016-12-16 08:14:52 | vstinner | link | issue28977 messages |
2016-12-16 08:14:52 | vstinner | create | |
|