[New-bugs-announce] [issue34755] Few minor optimizations in _asynciomodule.c

Serhiy Storchaka report at bugs.python.org
Thu Sep 20 12:50:56 EDT 2018


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

* 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.

----------
messages: 325902
nosy: asvetlov, serhiy.storchaka, yselivanov
priority: normal
severity: normal
status: open
title: Few minor optimizations in _asynciomodule.c
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34755>
_______________________________________


More information about the New-bugs-announce mailing list