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 brett.cannon
Recipients Arfrever, berker.peksag, brett.cannon, eric.araujo, eric.snow, meador.inge, pitrou, python-dev
Date 2012-04-18.14:25:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334759140.74.0.429846647846.issue13959@psf.upfronthosting.co.za>
In-reply-to
Content
You could change Lib/imp.py to have ``import _frozen_importlib as _bootstrap`` if you want the same modules coming from imp, but I would argue against changing importlib itself being changed as that complicates development since if you screw up importlib._bootstrap when you compile it becomes a major pain to revert the importlib.h change, recompile, and continue to do that until you get it right. Plus you would only care about this if you are doing isinstance() checks on what kind of loader you have which you shouldn't care about since we have clearly defined ABCs to test against.

As for Lib/test/badsyntax_pep3120.py, it *does* have a source encoding of UTF-8 since it does not explicitly specify an encoding. Based on the name I'm assuming the file itself has bad UTF-8 characters, but that doesn't mean that the file is not supposed to be interpreted as UTF-8.
History
Date User Action Args
2012-04-18 14:25:40brett.cannonsetrecipients: + brett.cannon, pitrou, eric.araujo, Arfrever, meador.inge, python-dev, eric.snow, berker.peksag
2012-04-18 14:25:40brett.cannonsetmessageid: <1334759140.74.0.429846647846.issue13959@psf.upfronthosting.co.za>
2012-04-18 14:25:40brett.cannonlinkissue13959 messages
2012-04-18 14:25:39brett.cannoncreate