diff options
author | Brett Cannon <brett@python.org> | 2016-02-20 12:52:06 -0800 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2016-02-20 12:52:06 -0800 |
commit | fafcc3768b75081dc33bc7fa684fcb654cd0d7df (patch) | |
tree | 1e9a1d5943ce741008a1cab5f98854303d0cbb3a /Python/errors.c | |
parent | 26ec8a0cc66b97356ebeaa8cd4dce5b5e975e70d (diff) | |
download | cpython-fafcc3768b75081dc33bc7fa684fcb654cd0d7df.tar.gz |
Issue #26367: Have importlib.__init__() raise RuntimeError when
'level' is specified but no __package__.
This brings the function inline with builtins.__import__(). Thanks to
Manuel Jacob for the patch.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions