[Python-Dev] Maybe, just maybe, pathlib doesn't belong.

Sven R. Kunze srkunze at mail.de
Tue Apr 12 12:14:29 EDT 2016

On 12.04.2016 18:04, Chris Barker wrote:
> On Tue, Apr 12, 2016 at 7:54 AM, Sven R. Kunze <srkunze at mail.de 
> <mailto:srkunze at mail.de>> wrote:
>     My conclusion is that these changes are not optional and tweaking
>     os, io and shutil is just yet another workaround for a clean
>     solution. :)
> Is the clean solution to re-implement EVERYTHING in the stdlib that 
> involves a path in a new, fancy pathlib way?
> If we were starting from scratch, I _might_ like that idea, but we're 
> not starting from scratch. And that would cement in pathlib itself, 
> leaving no room for other path implementations. kind of like how the 
> pre-__Index__ python cemented in python integers as the only objects 
> once could use to index a sequence.

I cannot remember us using another datetime library. So, I don't value 
this "advantage" as much as you do.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160412/a4fb704c/attachment.html>

More information about the Python-Dev mailing list