Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
On Wed, Jan 19, 2011 at 9:21 PM, STINNER Victor <rep...@bugs.python.org> wrote: .. > New problem: if the parser doesn't normalize module names on import, it does > still > normalize module names on other instructions. > > Example: "import \xB5Torrent; del \xB5Torrent" raises an error on del because > the parser > normalized del identifier (the second module name) => "import \xB5Torrent; > del \u03BCTorrent". > This won't be a problem if you make "import \xB5Torrent" behave as "\xB5Torrent = __import__('\xB5Torrent')". The latter is equivalent to "\u03BCTorrent = __import__('\xB5Torrent')". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10952> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com