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

Ethan Furman ethan at stoneleaf.us
Sat Apr 9 11:30:05 EDT 2016

On 04/09/2016 03:51 AM, Koos Zevenhoven wrote:
> On Sat, Apr 9, 2016 at 10:16 AM, Ethan Furman <ethan at stoneleaf.us> wrote:

>> 3.5.0 scandir supports bytes:
> Maybe it's the bytes support in scandir that should be deprecated?
> (And not bytes support in general, which cannot be done on posix, as I
> hear Stephen T. will tell me).

No, scandir is a low-level function -- it needs to support bytes.


More information about the Python-Dev mailing list