[issue40423] Optimization: use close_range(2) if available

Gregory P. Smith report at bugs.python.org
Sun Oct 11 15:16:39 EDT 2020


Gregory P. Smith <greg at krypto.org> added the comment:

Ah, yeah ENOSYS is it.  I had to do this trick in older subprocess versions for something else.  Still visible here in the old 2.7 backport: https://github.com/google/python-subprocess32/blob/main/_posixsubprocess.c#L801

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40423>
_______________________________________


More information about the Python-bugs-list mailing list