Nick Coghlan added the comment:

For the specific case given, both error messages are misleading anyway - the 
problem is attempting to directly execute a module inside a package instead of 
using "-m".

However, for the case of attempting a relative import from a top level module, 
the old message is indeed preferable.

----------

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

Reply via email to