[issue22865] Allow pty.spawn to ignore data to copy

2015-01-06 Thread Geoff Shannon
Geoff Shannon added the comment: I tweaked the patch a bit to not include the parentheses since that seems to be the style here. -- Added file: http://bugs.python.org/file37620/pty.patch ___ Python tracker ___

[issue22865] Allow pty.spawn to ignore data to copy

2014-11-13 Thread Geoff Shannon
New submission from Geoff Shannon: While using the pty.py module I had cause to want to be able to silently eat characters from the input stream. I discovered that because of the check for end of file being "if not data" that there was no way to do this. Since the default function used by spa