The following works today:

Python 3.6.3 (default, Oct  4 2017, 06:09:15)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import os.path
 >>> os
<module 'os' from '/Users/pradyunsg/.venvwrap/venvs/pip/bin/../lib/python3.6/os.py'>
 >>> os.path
<module 'posixpath' from '/Users/pradyunsg/.venvwrap/venvs/pip/bin/../lib/python3.6/posixpath.py'>

I am not sure what you're asking for here.

os.path is a very special case.

First at all there are no the os/path.py file...

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to