Message346643
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. |
|
Date |
User |
Action |
Args |
2019-06-26 15:58:03 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, vstinner |
2019-06-26 15:58:03 | serhiy.storchaka | set | messageid: <1561564683.76.0.295118993996.issue37406@roundup.psfhosted.org> |
2019-06-26 15:58:03 | serhiy.storchaka | link | issue37406 messages |
2019-06-26 15:58:03 | serhiy.storchaka | create | |
|