diff options
| author | Brett Cannon <brett@python.org> | 2016-01-23 00:39:02 (GMT) |
|---|---|---|
| committer | Brett Cannon <brett@python.org> | 2016-01-23 00:39:02 (GMT) |
| commit | 9fa812668faf0d2d7839845e1a0da19b87bdbc29 (patch) | |
| tree | 80c2c811909e691d6ab1fc2fea7ad9ca1619bdd7 /Python/asdl.c | |
| parent | 4b18dd339a9919e6f5fa3485c8b871ed19d9e391 (diff) | |
| download | cpython-9fa812668faf0d2d7839845e1a0da19b87bdbc29.zip cpython-9fa812668faf0d2d7839845e1a0da19b87bdbc29.tar.gz cpython-9fa812668faf0d2d7839845e1a0da19b87bdbc29.tar.bz2 | |
Issue #18018: Raise an ImportError if a relative import is attempted
with no known parent package.
Previously SystemError was raised if the parent package didn't exist
(e.g., __package__ was set to '').
Thanks to Florent Xicluna and Yongzhi Pan for reporting the issue.
Diffstat (limited to 'Python/asdl.c')
0 files changed, 0 insertions, 0 deletions
