[issue46131] Add PyType_FastSubclass for float

Serhiy Storchaka report at bugs.python.org
Sun Dec 19 07:51:36 EST 2021


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

It is because PyFloat_Check() and PyComplex_Check() are rarely used in comparison with checks for integers, strings, etc. The flags space is limited, so it is better to use it for something more important.

There were reasons for not adding such flags at first place and I think that they are still valid.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list