STINNER Victor added the comment:

Why not using os.fstat() instead of os.dup() to check if a file descriptor is 
open or not?

It's strange to create a new file descriptor with os.dup() to count the file 
descriptors.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18174>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to