[issue41343] Convert complex methods to Argument Clinic

Serhiy Storchaka report at bugs.python.org
Sun Jul 19 11:51:36 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I wrote similar patch for __format__ and got similar tiny speed up. It is expectable. But I am surprised that you get a difference for conjugate() and __getnewargs__. It may be a compiler artifact.

In any case the benefit of converting to Argument Clinic in this case is adding signatures for these methods.

----------
nosy: +mark.dickinson, serhiy.storchaka

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


More information about the Python-bugs-list mailing list