[issue27998] Remove support of bytes paths in os.scandir()

STINNER Victor report at bugs.python.org
Wed Sep 7 13:45:55 EDT 2016


STINNER Victor added the comment:

I'm ok to support os.scandir(bytes) on Windows.

My long term goal was to drop bytes support on Windows, but it seems like the new trend is more to keep this support and even enhance it.

It's quite easy to support os.scandir(bytes) on Windows, whereas it seems tricky and annoying to have to emulate the feature in pure Python.

Note: I was the BDFL-delegate for the PEP 471 ;-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27998>
_______________________________________


More information about the Python-bugs-list mailing list