[Python-ideas] Better stdlib support for Path objects

Juancarlo Añez apalala at gmail.com
Mon Oct 6 22:20:59 CEST 2014


On Mon, Oct 6, 2014 at 2:39 PM, Terry Reedy <tjreedy at udel.edu> wrote:

> To me, the first question to me is whether we 'believe' in pathlib
> enough to really support it in the stdlib and encourage its use.
>

os.path is cumbersome (horrible?) when compared to pathlib.

The issue is prevalent throughout stdlib. For example, json won't take a
pathlib.Path, so you have to pass str(mypath).

Cheers,

-- 
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141006/a2e92721/attachment.html>


More information about the Python-ideas mailing list