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.

作者 brett.cannon
收信人 Arfrever, berker.peksag, brett.cannon, eric.araujo, eric.snow, meador.inge, pitrou, python-dev
日期 2012-04-18.14:25:39
SpamBayes Score -1.0
Marked as misclassified
Message-id <1334759140.74.0.429846647846.issue13959@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2012-04-18 14:25:40brett.cannon修改recipients: + brett.cannon, pitrou, eric.araujo, Arfrever, meador.inge, python-dev, eric.snow, berker.peksag
2012-04-18 14:25:40brett.cannon修改messageid: <1334759140.74.0.429846647846.issue13959@psf.upfronthosting.co.za>
2012-04-18 14:25:40brett.cannon链接issue13959 messages
2012-04-18 14:25:39brett.cannon创建