[issue37406] Disable runtime checks in release mode
Serhiy Storchaka
report at bugs.python.org
Wed Jun 26 11:58:03 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I think that the public C API should have runtime checks for its arguments, except performance sensitive functions and macros (like PyTuple_GET_ITEM). The internal C API can use just asserts.
I have a work-in-progress patch which adds tests for the public C API, including calls with invalid arguments.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37406>
_______________________________________
More information about the Python-bugs-list
mailing list