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.

classification
Title: Few minor optimizations in _asynciomodule.c
Type: enhancement Stage: resolved
Components: Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, serhiy.storchaka, yselivanov
Priority: normal Keywords: patch

Created on 2018-09-20 16:50 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 9455 merged serhiy.storchaka, 2018-09-20 16:52
Messages (2)
msg325902 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-09-20 16:50
* Perform cheap comparison with None before expensive checks in task_step_impl().
* Use more efficient private API for getting and setting an optional attribute.
* Use PyGen_Check() instead of inspect.isgenerator().
* Use faster and more idiomatic way of getting the name of the type.
msg325961 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-09-21 06:11
New changeset fb3e9c00ed79f4d880ab9a67aab861eb3660ec75 by Serhiy Storchaka in branch 'master':
bpo-34755: Add few minor optimizations in _asynciomodule.c. (GH-9455)
https://github.com/python/cpython/commit/fb3e9c00ed79f4d880ab9a67aab861eb3660ec75
History
Date User Action Args
2022-04-11 14:59:06adminsetgithub: 78936
2018-09-21 09:15:06serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-09-21 06:11:35serhiy.storchakasetmessages: + msg325961
2018-09-20 16:52:33serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request8870
2018-09-20 16:50:56serhiy.storchakacreate