Message297992
It is easy to replace the SystemError with a recursive import of the missing parent package. It is enough to remove raising the SystemError.
The other effect of this change is that relative import from the top-level module now raises ImportError "attempted relative import with no known parent package" instead of SystemError "Parent module '' not loaded, cannot perform relative import". |
|
Date |
User |
Action |
Args |
2017-07-09 14:25:08 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, pitrou, eric.snow |
2017-07-09 14:25:08 | serhiy.storchaka | set | messageid: <1499610308.15.0.80405356817.issue30876@psf.upfronthosting.co.za> |
2017-07-09 14:25:08 | serhiy.storchaka | link | issue30876 messages |
2017-07-09 14:25:08 | serhiy.storchaka | create | |
|