Ezio Melotti <ezio.melo...@gmail.com> added the comment:

I'm not sure they should be disallowed.  We have ways to set variables and 
attributes with "invalid" names (like '.something') too.  OTOH __import__ fails 
to import the .something due to the special meaning of the dot, but it imports 
things like foo-bar.py just fine.
Also I'm assuming that with "unimportable" you just mean "with a name that is 
not a valid identifier" and not other modules that can't be imported for other 
reasons.

----------
nosy: +brett.cannon, ezio.melotti, ncoghlan
type:  -> behavior

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

Reply via email to