[New-bugs-announce] [issue27911] Unnecessary error checks in exec_builtin_or_dynamic

Xiang Zhang report at bugs.python.org
Wed Aug 31 07:22:37 EDT 2016


New submission from Xiang Zhang:

The two PyErr_Occurred check in exec_builtin_or_dynamic are unnecessary. The PyModule_Check at the beginning of exec_builtin_or_dynamic has eliminated the possibility for PyModule_GetDef/State to fail.

----------
components: Interpreter Core
files: exec_built_or_dynamic.patch
keywords: patch
messages: 274015
nosy: brett.cannon, eric.snow, ncoghlan, xiang.zhang
priority: normal
severity: normal
status: open
title: Unnecessary error checks in exec_builtin_or_dynamic
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file44294/exec_built_or_dynamic.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27911>
_______________________________________


More information about the New-bugs-announce mailing list