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

Antoine Pitrou solipsis at pitrou.net
Wed Nov 20 23:01:48 CET 2013

On Wed, 20 Nov 2013 13:42:42 -0800
Guido van Rossum <guido at python.org> wrote:
> On Tue, Nov 19, 2013 at 1:04 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> > Guido has told me that he was ready to approve PEP 428 (pathlib) in its
> > latest amended form.  Here is the last call for any comments or
> > arguments against approval, before Guido marks the PEP accepted (or
> > changes his mind :-)).
> >
> Congrats Antoine! I've approved your PEP. Go ahead with the integration.
> Everybody: pathlib is an immediately useful standard way for manipulating
> file paths, both platform-specific and platform-independent (so you can
> work with Windows paths on a POSIX system and vice versa).
> pathlib  won't replace os.path immediately (the current status is
> "provisional", which means that the API may still be tweaked after 3.4 is
> released), but in the long term I expect os.path to die a quiet death (as
> well as the host of 3rd party path modules that preceded pathlib).

pathlib imports many modules at startup, so for scripts for which
startup time is critical using os.path may still be the best option.

But thanks anyway :)



More information about the Python-Dev mailing list