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 <rep...@bugs.python.org> <http://bugs.python.org/issue20495> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com