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 Rob Bairos, brett.cannon, eric.araujo, eric.smith, ncoghlan
Date 2011-11-03.21:20:39
SpamBayes Score 1.876253e-05
Marked as misclassified No
Message-id <1320355240.42.0.789576413269.issue13314@psf.upfronthosting.co.za>
In-reply-to
Content
This is working as intended. Importers on sys.meta_path should be able to rely on the assumption that the names they are given are syntactically proper module names and not just any random string. You could perform a transform from module name to random string name in an importer or whatever to support some funky naming scheme under the hood. You could also walk sys.meta_path yourself to get around this sanity check, but I see no value in changing import itself to support this use case.
History
Date User Action Args
2011-11-03 21:20:40brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.smith, eric.araujo, Rob Bairos
2011-11-03 21:20:40brett.cannonsetmessageid: <1320355240.42.0.789576413269.issue13314@psf.upfronthosting.co.za>
2011-11-03 21:20:39brett.cannonlinkissue13314 messages
2011-11-03 21:20:39brett.cannoncreate