Brett Cannon <br...@python.org> added the comment:

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.

----------
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13314>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to