This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gregory.p.smith, kevans, kevans91, miss-islington, vstinner
Date 2020-10-11.22:34:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python/fileutils.c might be a better home for such helper function.

You might move _Py_BEGIN_SUPPRESS_IPH / _Py_END_SUPPRESS_IPH macros into _Py_closerange(), even if currently it makes no diffence. (_Py_BEGIN_SUPPRESS_IPH is specific to Windows, os.closerange() uses it, and _posixsubprocess doesn't need it since it's not used on Windows.)

See also the idea of reminding if the kernel supports the syscall or not:
Date User Action Args
2020-10-11 22:34:54vstinnersetrecipients: + vstinner, gregory.p.smith, miss-islington, kevans, kevans91
2020-10-11 22:34:54vstinnersetmessageid: <>
2020-10-11 22:34:54vstinnerlinkissue40422 messages
2020-10-11 22:34:54vstinnercreate