New submission from Tomasz Pytel <tompy...@gmail.com>:

The call to _PyInterpreterState_LookUpID() may generate a Python exception but 
it is not explicitly cleared on error and no indicator is returned to signal 
failure. This can lead to a "a function returned a result with an error set" 
fatal error, and does in fact do so in a case I encountered in 
Modules/_xxsubinterpreters.c:channel_destroy().

----------
components: Interpreter Core
messages: 374270
nosy: Tomasz Pytel
priority: normal
severity: normal
status: open
title: pystate.c:_PyCrossInterpreterData_Release() does not clear py exception 
on error
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41396>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to