[New-bugs-announce] [issue35476] _imp_create_dynamic_impl() does not clear error.

Eric Snow report at bugs.python.org
Wed Dec 12 14:21:19 EST 2018

New submission from Eric Snow <ericsnowcurrently at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list