Message378464
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:
https://github.com/python/cpython/pull/22651#pullrequestreview-506215041 |
|
Date |
User |
Action |
Args |
2020-10-11 22:34:54 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, miss-islington, kevans, kevans91 |
2020-10-11 22:34:54 | vstinner | set | messageid: <1602455694.14.0.237147550049.issue40422@roundup.psfhosted.org> |
2020-10-11 22:34:54 | vstinner | link | issue40422 messages |
2020-10-11 22:34:54 | vstinner | create | |
|