]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40422: Move _Py_closerange to fileutils.c (GH-22680)
authorKyle Evans <kevans91@users.noreply.github.com>
Tue, 13 Oct 2020 20:04:44 +0000 (15:04 -0500)
committerGitHub <noreply@github.com>
Tue, 13 Oct 2020 20:04:44 +0000 (22:04 +0200)
commit7992579cd27f14f472acc37aca537eec55f681ef
tree5d738707fbf658dcbd2ddc6aaf0cf107b92bec45
parent8b2ff4c03d150c43df3e8438d323b7f7bfe3353c
bpo-40422: Move _Py_closerange to fileutils.c (GH-22680)

This API is relatively lightweight and organizationally, given that it's
used by multiple modules, it makes sense to move it to fileutils.

Requires making sure that _posixsubprocess is compiled with the appropriate
Py_BUIILD_CORE_BUILTIN macro.
Include/internal/pycore_fileutils.h
Modules/Setup
Modules/_posixsubprocess.c
Modules/posixmodule.c
Modules/posixmodule.h
Python/fileutils.c
setup.py