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 vstinner
Recipients shihai1991, vstinner
Date 2021-01-25.10:25:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611570334.05.0.891680868524.issue42979@roundup.psfhosted.org>
In-reply-to
Content
> Why not return -1 directly when PyCapsule_Import() fails?

That would work.

I opened an issue since there is a bug.
History
Date User Action Args
2021-01-25 10:25:34vstinnersetrecipients: + vstinner, shihai1991
2021-01-25 10:25:34vstinnersetmessageid: <1611570334.05.0.891680868524.issue42979@roundup.psfhosted.org>
2021-01-25 10:25:34vstinnerlinkissue42979 messages
2021-01-25 10:25:34vstinnercreate