[Python-ideas] Promoting the adoption of pathlib [Was: Working with Path objects: p-strings?]
Alexander Walters
tritium-list at sdamon.com
Thu Mar 31 13:36:34 EDT 2016
On 3/31/2016 13:32, Ethan Furman wrote:
> On 03/31/2016 10:27 AM, Alexander Walters wrote:
>
>> I think this is missing step zero. What does pathlib even offer me, the
>> library developer? Why should I use it? I cannot be the only person
>> who does not understand why it exists, let alone why I should be using
>> it in my libraries.
>
> Easier path manipulations.
Are path manipulations hard? I have never run into anything that I
couldn't solve trivially with os.path. Is this really all this is for?
>
> A better user experience for those users that use pathlib.
In my experience, a rounding error of users.
>
> Much pain on your part until the stdlib fully supports pathlib.Paths.
Considering my last two counterpoints, this is likely to kill any
motivation to use the library.
If you want to promote pathlib use, really sell pathlib's benefits. the
patches to the standard library will come later if people actually want
to use it.
>
> --
> ~Ethan~
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
More information about the Python-ideas
mailing list