[issue29730] unoptimal calls to PyNumber_Check

Oren Milman report at bugs.python.org
Sun Mar 12 12:29:57 EDT 2017


Oren Milman added the comment:

"Perhaps some methods need to check also PyTuple_Check()."
which methods?

anyway, a new patch diff file is attached, according to your other seggustions,
Serhiy.
(I ran the test module, and some tests of my own, and it seems that the patch
doesn't break anything.)

----------
keywords: +patch
Added file: http://bugs.python.org/file46721/patchVer2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29730>
_______________________________________


More information about the Python-bugs-list mailing list