[Python-Dev] Pathlib enhancements - acceptable inputs and outputs for __fspath__ and os.fspath()

Ethan Furman ethan at stoneleaf.us
Sun Apr 17 14:14:02 EDT 2016


On 04/17/2016 06:58 AM, Koos Zevenhoven wrote:

> So, as a summary: With a str+bytes-polymorphic __fspath__, with the
> above argumentation and the rough implementation of os.fspath(...),
> the conclusion is that the os.fspath function should indeed be public,
> and that no further variations are needed.

Nice summation, thank you.  :)

--
~Ethan~



More information about the Python-Dev mailing list