Message312769
I believe the original rationale for the `__path__` check was to restrict that branch to the case where we may need to import a not-yet-imported submodule in order to get the attribute set appropriately.
However, giving a better error message for __all__ in ordinary modules also seems like a good reason to follow that branch. |
|
Date |
User |
Action |
Args |
2018-02-25 01:34:03 | ncoghlan | set | recipients:
+ ncoghlan, barry, brett.cannon, eric.snow, serhiy.storchaka, xiang.zhang |
2018-02-25 01:34:03 | ncoghlan | set | messageid: <1519522443.04.0.467229070634.issue32932@psf.upfronthosting.co.za> |
2018-02-25 01:34:02 | ncoghlan | link | issue32932 messages |
2018-02-25 01:34:02 | ncoghlan | create | |
|