New submission from Eric Snow <ericsnowcurren...@gmail.com>:
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()). ---------- components: Interpreter Core messages: 331717 nosy: eric.snow priority: normal severity: normal stage: needs patch status: open title: _imp_create_dynamic_impl() does not clear error. type: behavior versions: Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35476> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com