[docs] [issue22865] Document how to make pty.spawn not copy data

Geoff Shannon report at bugs.python.org
Thu May 7 22:09:24 CEST 2015


Geoff Shannon added the comment:

Okay, I just found another way to achieve the same effect of letting the _read function ignore data but not inadvertantly close the stream.  It relies on the fact that terminals will ignore null bytes fed to them.

Now there are no code changes required, just an addition to the documentation.

----------
components:  -Library (Lib)
title: Allow pty.spawn to ignore data to copy -> Document how to make pty.spawn not copy data
Added file: http://bugs.python.org/file39313/pty.patch

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


More information about the docs mailing list