A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-April/143741.html below:

[Python-Dev] Defining a path protocol

[Python-Dev] Defining a path protocol [Python-Dev] Defining a path protocolEthan Furman ethan at stoneleaf.us
Wed Apr 6 22:40:55 EDT 2016
On 04/06/2016 07:24 PM, Wes Turner wrote:
> On Apr 6, 2016 6:31 PM, "Brett Cannon" wrote:

>> Which suggests perhaps we should have pathlib.fspath() instead of a
>> built-in.
>
> Would it make sense to instead have pathlib.Path.__init__?

We already have that -- it's what makes a Path.

What we are looking for is a function that accepts a Path or a str and 
returns the Path as a str, or the str passed in.

--
~Ethan~

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4