Change by Geoff Shannon :
--
pull_requests: +13364
___
Python tracker
<https://bugs.python.org/issue22865>
___
___
Python-bugs-list mailing list
Unsubscribe:
Geoff Shannon added the comment:
@martin.panter I removed the mention of inserting null bytes and restricted the
documentation updates to more fully documenting the current behaviour.
--
___
Python tracker
<https://bugs.python.org/issue22
Geoff Shannon added the comment:
I'm aware of it. I actually wrote that patch as well. :D
--
___
Python tracker
<https://bugs.python.org/issue26228>
___
___
Geoff Shannon added the comment:
I took a shot at fixing this in a smaller more targeted patch. I think this
should still solve the major issue of pty.spawn hanging on platforms that don't
raise an error. In addition, pty.spawn should now _ALWAYS_ return the terminal
to the pre
Change by Geoff Shannon :
--
pull_requests: +12074
___
Python tracker
<https://bugs.python.org/issue26228>
___
___
Python-bugs-list mailing list
Unsubscribe:
Geoff Shannon added the comment:
It is submitted @cheryl.sabella. Thanks for reviving this, I had totally lost
track of it.
--
___
Python tracker
<https://bugs.python.org/issue22
Geoff Shannon added the comment:
Hmm, I spoke improperly. I think you are entirely correct in your statements.
What I meant by "terminals ignore null bytes" is that returning a string
consisting of only a null byte doesn't cause anything observable to happen,
including
Geoff Shannon added the comment:
Hey, pinging this issue. Hoping someone has time to take a look at it.
--
___
Python tracker
<http://bugs.python.org/issue22
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
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
<http://bugs.python.org/issue22
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 functi
11 matches
Mail list logo