A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-July/135311.html below:

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

[Python-Dev] PEP 471: scandir(fd) and pathlib.Path(name, dir_fd=None) [Python-Dev] PEP 471: scandir(fd) and pathlib.Path(name, dir_fd=None)Victor Stinner victor.stinner at gmail.com
Wed Jul 2 13:59:26 CEST 2014
2014-07-02 12:51 GMT+02:00 Charles-François Natali <cf.natali at gmail.com>:
> I don't think we should support it: it's way too complicated to use,
> error-prone, and leads to messy APIs.

Can you please elaborate? Which kind of issue do you see? Handling the
lifetime of the directory file descriptor?

You don't like the dir_fd parameter of os functions?

I don't have an opinion of supporting scandir(int). I asked to discuss
it in the PEP directly.

Victor
More information about the Python-Dev mailing list

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