[Python-Dev] When should pathlib stop being provisional?

Terry Reedy tjreedy at udel.edu
Tue Apr 5 21:39:15 EDT 2016

On 4/5/2016 7:45 PM, Guido van Rossum wrote:

> This does sound like it's the crucial issue, and it is worth writing
> up clearly the pros and cons. Let's draft those lists in a thread
> (this one's fine) and then add them to the PEP. We can then decide to:
> - keep the status quo
> - change PurePath to inherit from str
> - decide it's never going to be settled and kill pathlib.py
> (And yes, I'm dead serious about the latter, rather Solomonic option.)

My sense of the discussion was that some people think that the 
new-in-upcoming 3.5.2 PurePath.path should serve as a substitute for 
inheriting from str.  In particular, it should make it easy for 
stringpath functions to also accept path objects.

Terry Jan Reedy

More information about the Python-Dev mailing list