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-May/144558.html below:

[Python-Dev] file system path protocol PEP

[Python-Dev] file system path protocol PEP [Python-Dev] file system path protocol PEPSven R. Kunze srkunze at mail.de
Thu May 12 13:21:45 EDT 2016
On 12.05.2016 18:56, Ethan Furman wrote:
> On 05/12/2016 09:26 AM, Sven R. Kunze wrote:
>> str and bytes will receive the __fspath__ attribute when this PEP is
>> accepted?
>
> No, they won't.  The __fspath__ protocol will reduce the rich path 
> object down to a str/bytes object.

Would this make the implementation of os.fspath simpler?

After all, str and bytes are to some extend path-like objects.


Best,
Sven
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