[issue41818] Lib/pty.py major revision
Soumendra Ganguly
report at bugs.python.org
Fri Nov 27 15:50:47 EST 2020
Soumendra Ganguly <soumendra at tamu.edu> added the comment:
This is actually good news. I had not tested the code on Solaris; this confirms my suspicion that Linux is the only platform that "behaves differently". Sadly, the current Lib/pty.py code depends on such "different behavior" to exit from pty.spawn()'s copy loop, which is why it hangs on the BSDs, macOS, and now we know that it (probably) also hangs on Solaris. Adding 'or PLATFORM == "SunOS"' is the correct thing to do. I am working on this now.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41818>
_______________________________________
More information about the Python-bugs-list
mailing list