[issue41396] pystate.c:_PyCrossInterpreterData_Release() does not clear py exception on error

2021-11-23 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +eric.snow, vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41396] pystate.c:_PyCrossInterpreterData_Release() does not clear py exception on error

2020-07-25 Thread Tomasz Pytel


New submission from Tomasz Pytel :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com