[issue22865] Document how to make pty.spawn not copy data
Martin Panter
report at bugs.python.org
Thu Feb 21 18:03:53 EST 2019
Martin Panter <vadmium+py at gmail.com> added the comment:
I'm not sure it is wise for the Python documentation to suggest inserting null bytes in general. This seems more like an application-specific hack. There is nothing in Python that handles these null bytes specially, and I expect they will be seen if the child reads the terminal in raw mode, or if the parent's output is redirected to a file, sent over the network or a real serial link.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22865>
_______________________________________
More information about the Python-bugs-list
mailing list