Terry J. Reedy <tjre...@udel.edu> added the comment:

The problem is that there is no file os/path.py.  When I try to load os.path, 
nothing happens, not even a "Module not found" message, as with idlelib.rrr, 
for instance.  If I try 'os.pathx', I get "Error: __path__ attribute not found 
on 'os' while trying to find 'os.pathx'".

A new test, without the patch, fails with
ImportError: loader for ntpath cannot handle os.path
I am going to assume that calling it with the module name is usually a good 
idea, so that adding a separate call without is a good idea.

----------

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

Reply via email to