STINNER Victor added the comment:

I propose to only call ioctl() once, and then remember (in a static
variable) that it doesn't work and then always call fcntl().

I can work on a patch.

----------

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

Reply via email to