New submission from mattip <[email protected]>:
The basic classes int, dict, list, tuple ... all have a fast path for
Py_*Check(obj):
#define PyLong_Check(op) \
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
except for float. I propose to add a Py_TPFLAGS_FLOAT_SUBCLASS enum and use it
to implement PyType_FastSubclass for float.
----------
components: C API
messages: 408890
nosy: mattip
priority: normal
severity: normal
status: open
title: Add PyType_FastSubclass for float
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46131>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com