summaryrefslogtreecommitdiff
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorKyle Evans <kevans91@users.noreply.github.com>2020-10-11 13:54:11 -0500
committerGitHub <noreply@github.com>2020-10-11 11:54:11 -0700
commitc230fde8475e4e5581e74a4235654d17ccf4cff8 (patch)
tree2433c12c29ee81ef47127bac4908354210ef4872 /Python/fileutils.c
parentd5752aa5c91c56910efe226d0a000bb4481e4f87 (diff)
downloadcpython-git-c230fde8475e4e5581e74a4235654d17ccf4cff8.tar.gz
bpo-40422: create a common _Py_closerange API (GH-19754)
Such an API can be used both for os.closerange and subprocess. For the latter, this yields potential improvement for platforms that have fdwalk but wouldn't have used it there. This will prove even more beneficial later for platforms that have close_range(2), as the new API will prefer that over all else if it's available. The new API is structured to look more like close_range(2), closing from [start, end] rather than the [low, high) of os.closerange(). Automerge-Triggered-By: @gpshead
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions