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 shihai1991
Recipients petr.viktorin, shihai1991, vstinner
Date 2020-12-17.11:05:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608203150.65.0.298953742556.issue42625@roundup.psfhosted.org>
In-reply-to
Content
Thanks victor, petr for your comment and review. I closed this bpo and PR.

I paste victor's explanation in here in case other developers have the same question too: Getting a crash is the
expected behaviour if you don't respect a function API. Most C
functions are designed like that. Only very few functions check their
arguments, tests are usually omitted for best performances.

Sorry for this noisy bpo.
History
Date User Action Args
2020-12-17 11:05:50shihai1991setrecipients: + shihai1991, vstinner, petr.viktorin
2020-12-17 11:05:50shihai1991setmessageid: <1608203150.65.0.298953742556.issue42625@roundup.psfhosted.org>
2020-12-17 11:05:50shihai1991linkissue42625 messages
2020-12-17 11:05:50shihai1991create