A RetroSearch Logo

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

Search Query:

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

[Python-Dev] Defining a path protocol (was: When should pathlib stop being provisional?)

[Python-Dev] Defining a path protocol (was: When should pathlib stop being provisional?) [Python-Dev] Defining a path protocol (was: When should pathlib stop being provisional?)Victor Stinner victor.stinner at gmail.com
Sat Apr 9 03:07:01 EDT 2016
os.DirEntry doesn't support bytes: os.scandir() only accept str. It's a
deliberate choice.

I strongly suggest to only support Unicode for filenames in Python 3. So
__fspath__ must only return str, or a TypeError must be raised.

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160409/307a16e3/attachment.html>
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