Showing content from http://mail.python.org/pipermail/python-dev/attachments/20160409/307a16e3/attachment.html below:
<p dir="ltr">os.DirEntry doesn't support bytes: os.scandir() only accept str. It's a deliberate choice.</p>
<p dir="ltr">I strongly suggest to only support Unicode for filenames in Python 3. So __fspath__ must only return str, or a TypeError must be raised.</p>
<p dir="ltr">Victor</p>
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