Message126580
This proposal makes sense because it would make
import µTorrent
behave the same as
µTorrent = __import__('µTorrent')
However, I think this is a feature request and a language change because the current grammar is
import_stmt ::= "import" module ..
module ::= (identifier ".")* identifier
and in order to implement the proposed feature, "module" will have to become a separate AST node that won't be treated as identifier. |
|
Date |
User |
Action |
Args |
2011-01-20 02:18:44 | belopolsky | set | recipients:
+ belopolsky, vstinner |
2011-01-20 02:18:44 | belopolsky | set | messageid: <1295489924.05.0.981148788417.issue10952@psf.upfronthosting.co.za> |
2011-01-20 02:18:38 | belopolsky | link | issue10952 messages |
2011-01-20 02:18:38 | belopolsky | create | |
|