]> granicus.if.org Git - python/commit
[3.6] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2221)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 15 Jun 2017 18:15:11 +0000 (21:15 +0300)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2017 18:15:11 +0000 (21:15 +0300)
commitfab05de21480fc54a5101cf813195cb32724b5ad
treea383051a79e526670a283e86ae35c0e2498d5149
parente45ea377b8d9ae23893d4587003c6d3e7f54b99a
[3.6] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2221)

In rare circumstances PyImport_Import() could return NULL without raising
an error.
(cherry picked from commit 145541c)
Python/import.c