[issue10952] Don't normalize module names to NFKC?
Alexander Belopolsky
report at bugs.python.org
Thu Jan 20 03:18:44 CET 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10952>
_______________________________________
More information about the Python-bugs-list
mailing list