cpython: 96c6816825dc (original) (raw)
Mercurial > cpython
changeset 103264:96c6816825dc
Issue #27911: Remove some unnecessary error checks in import.c. Thanks to Xiang Zhang for the patch. [#27911]
Brett Cannon brett@python.org | |
---|---|
date | Wed, 07 Sep 2016 17:00:43 -0700 |
parents | 5fdb8c897023 |
children | 89b185372b2c |
files | Misc/NEWS Python/import.c |
diffstat | 2 files changed, 5 insertions(+), 6 deletions(-)[+] [-] Misc/NEWS 3 Python/import.c 8 |
line wrap: on
line diff
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,9 @@ What's New in Python 3.6.0 beta 1 Core and Builtins ----------------- +- Issue #27911: Remove unnecessary error checks in
- Issue #27983: Cause lack of llvm-profdata tool when using clang as required for PGO linking to be a configure time error rather than make time when --with-optimizations is enabled. Also improve our
--- a/Python/import.c +++ b/Python/import.c @@ -1942,19 +1942,15 @@ exec_builtin_or_dynamic(PyObject *mod) { def = PyModule_GetDef(mod); if (def == NULL) {