]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #27186: Add os.PathLike support to pathlib.
authorBrett Cannon <brett@python.org>
Fri, 10 Jun 2016 19:20:49 +0000 (12:20 -0700)
committerBrett Cannon <brett@python.org>
Fri, 10 Jun 2016 19:20:49 +0000 (12:20 -0700)
commit568be63248614a2cdd7666a67ddfd16e817f7db9
treef59d0822885c5185a7dfb464cd443ea8d5696109
parentf41b82fb19d1b91f99ab657e4c6a751c44152f12
Issue #27186: Add os.PathLike support to pathlib.

This adds support both to pathlib.PurePath's constructor as well as
implementing __fspath__(). This removes the provisional status for
pathlib.

Initial patch by Dusty Phillips.
Doc/library/pathlib.rst
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/NEWS