This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, vstinner
Date 2011-01-20.02:31:42
SpamBayes Score 1.3414825e-12
Marked as misclassified No
Message-id <AANLkTi=6=vraCBNDFjZkoR8J=PP9sznmZzFEG2bcOVO+@mail.gmail.com>
In-reply-to <1295490102.85.0.965951587132.issue10952@psf.upfronthosting.co.za>
Content
On Wed, Jan 19, 2011 at 9:21 PM, STINNER Victor <report@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')".
History
Date User Action Args
2011-01-20 02:31:43belopolskysetrecipients: + belopolsky, vstinner
2011-01-20 02:31:42belopolskylinkissue10952 messages
2011-01-20 02:31:42belopolskycreate