[Python-Dev] PEP 428 - pathlib - ready for approval

Antoine Pitrou solipsis at pitrou.net
Thu Nov 21 01:51:59 CET 2013


On Wed, 20 Nov 2013 14:43:26 -0800
Chris Barker <chris.barker at noaa.gov> wrote:
> 
> By the way, for us dinosaurs  is this going to exactly match the
> pathlib implementation that can be used with py2?

pathlib up to 0.8 (on PyPI) has a different API - since there were so
many changes done as part of the release process.

When pathlib-in-the-stdlib stabilizes, I plan to release a pathlib 1.0
on PyPI that will integrate the PEP's API.

In the meantime, if you don't mind installing from VCS, you clone the
Mercurial repo (https://bitbucket.org/pitrou/pathlib/) and then
checkout branch "pep428".  It's 2.7-compatible.

Regards

Antoine.




More information about the Python-Dev mailing list