Message231126
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 spawn and _copy is a thin wrapper on os.read, I figured that it would be useful to interpret None as a sentinel value meaning "this is not EOF, but there's nothing I actually want to copy over." |
|
Date |
User |
Action |
Args |
2014-11-13 18:01:26 | RadicalZephyr | set | recipients:
+ RadicalZephyr, docs@python |
2014-11-13 18:01:26 | RadicalZephyr | set | messageid: <1415901686.09.0.50650588621.issue22865@psf.upfronthosting.co.za> |
2014-11-13 18:01:25 | RadicalZephyr | link | issue22865 messages |
2014-11-13 18:01:25 | RadicalZephyr | create | |
|