[Python-Dev] Defining a path protocol (original) (raw)

Ethan Furman ethan at stoneleaf.us
Wed Apr 6 19:37:11 EDT 2016


On 04/06/2016 04:26 PM, Brett Cannon wrote:

On Wed, 6 Apr 2016 at 16:25 Nathaniel Smith wrote:

For index the "built-in" is:

from operator import index Which suggests perhaps we should have pathlib.fspath() instead of a built-in.

+1

-- Ethan



More information about the Python-Dev mailing list