[Python-Dev] When should pathlib stop being provisional?

Eric Fahlgren ericfahlgren at gmail.com
Wed Apr 6 15:28:02 EDT 2016


On Wednesday, April 06, 2016 07:39,  Steven D'Aprano wrote:
> > How well does that apply to path/__path__?
> 
> I think it's potentially the same. Possibly there are fewer existing uses
of
> "obj.path" out there which conflict with this use, but there's at least
one in the
> std lib: sys.path.

Somewhat ironically, also os.

>>> import os.path
>>> getattr(os, "path")
<module 'ntpath' from 'C:\\Python35\\lib\\ntpath.py'>



More information about the Python-Dev mailing list