[New-bugs-announce] [issue30696] infinite loop in PyRun_InteractiveLoopFlags()

Xavier de Gaye report at bugs.python.org
Sun Jun 18 06:33:04 EDT 2017


New submission from Xavier de Gaye:

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.

----------
components: Interpreter Core
files: infinite_loop.patch
keywords: patch
messages: 296267
nosy: haypo, xdegaye
priority: normal
severity: normal
status: open
title: infinite loop in PyRun_InteractiveLoopFlags()
type: behavior
versions: Python 3.7
Added file: http://bugs.python.org/file46959/infinite_loop.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30696>
_______________________________________


More information about the New-bugs-announce mailing list