This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cs01
Recipients cs01, steve.dower
Date 2020-08-29.18:28:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598725687.47.0.96007277971.issue41663@roundup.psfhosted.org>
In-reply-to
Content
The pty and termios modules do not support Windows. Current Python pty documentation suggest Windows might be supported:

> The Linux code is supposed to work on other platforms, but hasn’t been tested yet.

but I have confirmed that it is not while adding pty usage to gdbgui.

The new Windows Psuedo Console, ConPTY, available in Windows 10, now makes this possible. 

Proof of existence of a common pty interface for all platforms exists for node with the node-pty npm package, which uses ConPTY.


References:

* ConPTY information, https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/
* Example ConPTY usage, https://github.com/microsoft/terminal/blob/master/samples/ConPTY/EchoCon/EchoCon/EchoCon.cpp
* node-pty, https://github.com/Microsoft/node-pty
* Python pty docs, https://docs.python.org/3/library/pty.html
* gdbgui Windows pty issue, https://github.com/cs01/gdbgui/issues/348
History
Date User Action Args
2020-08-29 18:28:07cs01setrecipients: + cs01, steve.dower
2020-08-29 18:28:07cs01setmessageid: <1598725687.47.0.96007277971.issue41663@roundup.psfhosted.org>
2020-08-29 18:28:07cs01linkissue41663 messages
2020-08-29 18:28:07cs01create