[issue33773] test.support.fd_count(): off-by-one error when listing /proc/self/fd/

STINNER Victor report at bugs.python.org
Tue Jun 5 07:32:01 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

fd_count() has been added by bpo-18174. I just backported it to Python 2.7 to check for leak of file descriptors in tests. I found the bug when I fixed a bug on Python 2.7 on FreeBSD.

----------

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


More information about the Python-bugs-list mailing list