[issue41342] Convert int.__round__ to Argument Clinic

Raymond Hettinger report at bugs.python.org
Sun Jul 19 17:32:07 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I don't have an opinion on the PR but want to point-out the Argument Clinic itself doesn't provide a performance benefit.  Anything that it does can also be done directly by the code itself, including vectorcall logic.  You should be able to optimize function calls without using the Argument Clinic.

That said, it would be great is someone were to work on building-out AC to support more interesting argument patterns like those in round().  It would be great if there were complete, correct support right out of the box.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list