[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

STINNER Victor report at bugs.python.org
Tue Feb 11 17:46:44 CET 2014


STINNER Victor added the comment:

> I wonder if we just need to make a matrix of which OS versions and which syscalls can handle PTYs correctly, and either put it in the docs or perhaps even refuse to accept PTYs in add_reader/add_writer...

Right now, I think that we don't have enough data to decide on which OS and OS versions such error should be raised. But I agree that it would be nice to raise an error instead of hang, crash, or just behave badly.

Until that, here is a patch to skip the test on FreeBSD < 8.0.

The test hangs on FreeBSD 7.2, test_asyncio pass on FreeBSD 9. The FreeBSD 8 buildbot is offline. test_asyncio is skipped on FreeBSD 6.4.

----------
keywords: +patch
Added file: http://bugs.python.org/file34043/skip_read_pty_freebsd72.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20495>
_______________________________________


More information about the Python-bugs-list mailing list