[Python-Dev] PEP 471: scandir(fd) and pathlib.Path(name, dir_fd=None) (original) (raw)

Charles-François Natali cf.natali at gmail.com
Wed Jul 2 12:51:43 CEST 2014


2014-07-01 8:44 GMT+01:00 Victor Stinner <victor.stinner at gmail.com>:

IMO we must decide if scandir() must support or not file descriptor. It's an important decision which has an important impact on the API.

I don't think we should support it: it's way too complicated to use, error-prone, and leads to messy APIs.



More information about the Python-Dev mailing list