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

[Python-Dev] file system path protocol PEP

[Python-Dev] file system path protocol PEP [Python-Dev] file system path protocol PEPEthan Furman ethan at stoneleaf.us
Wed May 11 19:05:32 EDT 2016
On 05/11/2016 03:13 PM, Brett Cannon wrote:

> If [...] I would drop os.path changes and make os.fspath() do what
 > Ethan and Koos have suggested and simply pass through without checks
> whatever path.__fspath__() returned if the argument wasn't str or bytes.

Not to derail the conversation too much, as I know we're all getting 
burned out on the topic, but that last bit is not accurate: my druthers 
are to have __fspath__ be able to return str /or/ bytes, and if anything 
else comes from the object in question an exception must be raised. 
Maybe a word got lost between your thoughts and your fingers -- happens 
to me all the time.  :)

--
~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