]> granicus.if.org Git - python/commit
[3.5] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2222)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 15 Jun 2017 18:15:26 +0000 (21:15 +0300)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2017 18:15:26 +0000 (21:15 +0300)
commit263dcc39daa74066c2b2fcb007a4bd4f7ec65073
tree840aa9da9e6b77ced9efe3428993c92045df6ab8
parentfb0825c2784f80689c4c00c3ede22958faaf512c
[3.5] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2222)

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