Message283391
| Author |
vstinner |
| Recipients |
docs@python, serhiy.storchaka, vstinner |
| Date |
2016年12月16日.08:14:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1481876092.65.0.30455244179.issue28977@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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); |
|
History
|
|---|
| 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 |
|