Message291926
Maybe I am wrong but don't we get another weird behavior?
import sys.path # this is error now
ModuleNotFoundError: No module named 'sys.path'; 'sys' is not a package
So we probably expect same behavior here:
import sys.path as foo
But if we just replace LOAD_ATTR with IMPORT_FROM in the compiler then wouldn't it works like:
from sys import path as foo
? |
|
Date |
User |
Action |
Args |
2017-04-20 00:41:32 | Pavol Lisy | set | recipients:
+ Pavol Lisy, barry, brett.cannon, ncoghlan, THRlWiTi, eric.snow, serhiy.storchaka, Victor.Varvariuc |
2017-04-20 00:41:32 | Pavol Lisy | set | messageid: <1492648892.68.0.781999517231.issue30024@psf.upfronthosting.co.za> |
2017-04-20 00:41:32 | Pavol Lisy | link | issue30024 messages |
2017-04-20 00:41:31 | Pavol Lisy | create | |
|