classification
Title: _imp_create_dynamic_impl() does not clear error.
Type: behavior Stage: needs patch
Components: Interpreter Core Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eric.snow
Priority: normal Keywords:

Created on 2018-12-12 19:21 by eric.snow, last changed 2018-12-12 19:21 by eric.snow.

Messages (1)
msg331717 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2018-12-12 19:21
In _imp_create_dynamic_impl() [1] the case where _PyImport_FindExtensionObject() returns NULL may leave an error set.  Either the error should be raised (like _imp_create_builtin() does) or it should be cleared (via PyErr_Clear()).
History
Date User Action Args
2018-12-12 19:21:19eric.snowcreate