[Python-Dev] Bytes path support (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Aug 21 00🔞11 CEST 2014


Antoine Pitrou wrote:

I think if you want low-level features (such as unconverted bytes paths under POSIX), it is reasonable to point you to low-level APIs.

The problem with scandir() in particular is that there is currently no low-level API exposed that gives the same functionality.

If scandir() is not to support bytes paths, I'd suggest exposing the opendir() and readdir() system calls with bytes path support.

-- Greg



More information about the Python-Dev mailing list