]> granicus.if.org Git - python/commit
bpo-32643: Drop support for a few private Task and Future APIs. (#5293)
authorYury Selivanov <yury@magic.io>
Wed, 24 Jan 2018 16:31:01 +0000 (11:31 -0500)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2018 16:31:01 +0000 (11:31 -0500)
commit22feeb88b473b288950cdb2f6c5d28692274b5f9
tree805ea2b2b684bb331f1205f1347b5b60e1dfd2db
parent8ded5b803705328749622256701b3f08a9d6c5ab
bpo-32643: Drop support for a few private Task and Future APIs. (#5293)

Specifically, it's not possible to subclass Task/Future classes
and override the following methods:

* Future._schedule_callbacks
* Task._step
* Task._wakeup
Lib/asyncio/futures.py
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_futures.py
Lib/test/test_asyncio/test_tasks.py
Misc/NEWS.d/next/Library/2018-01-24-00-32-58.bpo-32643.VWipsW.rst [new file with mode: 0644]
Modules/_asynciomodule.c
Modules/clinic/_asynciomodule.c.h