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 xdegaye
Recipients vstinner, xdegaye
Date 2017-06-18.10:33:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497781984.85.0.996199395593.issue30696@psf.upfronthosting.co.za>
In-reply-to
Content
To reproduce the problem, apply the nomemory_allocator.patch from issue 30695 and run the following two statements that must be interrupted with ^C:
$  ./python -q
>>> import _testcapi
>>> _testcapi.set_nomemory_allocator()
sys.excepthook is missing
^Cpython: Objects/call.c:785: PyEval_CallObjectWithKeywords: Assertion `!PyErr_Occurred()' failed.
Aborted (core dumped)

The attached patch fixes this problem.
No PR for the moment: this patch and nomemory_allocator.patch are needed to demonstrate other issues.
History
Date User Action Args
2017-06-18 10:33:04xdegayesetrecipients: + xdegaye, vstinner
2017-06-18 10:33:04xdegayesetmessageid: <1497781984.85.0.996199395593.issue30696@psf.upfronthosting.co.za>
2017-06-18 10:33:04xdegayelinkissue30696 messages
2017-06-18 10:33:04xdegayecreate