This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients lemburg, serhiy.storchaka, vstinner
Date 2019-06-26.15:58:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561564683.76.0.295118993996.issue37406@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-06-26 15:58:03serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, vstinner
2019-06-26 15:58:03serhiy.storchakasetmessageid: <1561564683.76.0.295118993996.issue37406@roundup.psfhosted.org>
2019-06-26 15:58:03serhiy.storchakalinkissue37406 messages
2019-06-26 15:58:03serhiy.storchakacreate