This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Elvis.Pranskevichus, asvetlov, miss-islington, ned.deily, serhiy.storchaka, v2m, yselivanov
Date 2018-10-03.18:16:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538590600.22.0.545547206417.issue34872@psf.upfronthosting.co.za>
In-reply-to
Content
Seems this change introduced a compiler warning.

/home/serhiy/py/cpython3.7/Modules/_asynciomodule.c: In function ‘task_step_impl’:
/home/serhiy/py/cpython3.7/Modules/_asynciomodule.c:2666:44: warning: passing argument 1 of ‘_PyObject_CallMethodId’ from incompatible pointer type [-Wincompatible-pointer-types]
                 r = _PyObject_CallMethodId(fut, &PyId_cancel, NULL);
                                            ^~~
In file included from ./Include/Python.h:128:0,
                 from /home/serhiy/py/cpython3.7/Modules/_asynciomodule.c:1:
./Include/abstract.h:315:24: note: expected ‘PyObject * {aka struct _object *}’ but argument is of type ‘FutureObj * {aka struct <anonymous> *}’
 PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj,
                        ^~~~~~~~~~~~~~~~~~~~~~
History
Date User Action Args
2018-10-03 18:16:40serhiy.storchakasetrecipients: + serhiy.storchaka, ned.deily, asvetlov, Elvis.Pranskevichus, yselivanov, miss-islington, v2m
2018-10-03 18:16:40serhiy.storchakasetmessageid: <1538590600.22.0.545547206417.issue34872@psf.upfronthosting.co.za>
2018-10-03 18:16:40serhiy.storchakalinkissue34872 messages
2018-10-03 18:16:40serhiy.storchakacreate