Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Issue 66190043: Fix _UnixWritePipeTransport to support TTY

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by haypo_gmail
Modified:
9 years, 4 months ago
Reviewers:
xdegaye, GvR
Visibility:
Public.

Description

Fix _UnixWritePipeTransport to support TTY

Patch Set 1 #

Total comments: 2

Patch Set 2 : change test on the pipe #

Patch Set 3 : don't set non-blocking mode for TTY #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -2 lines) Patch
M asyncio/unix_events.py View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
A examples/tty.py View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 8
GvR
https://codereview.appspot.com/66190043/diff/1/asyncio/unix_events.py File asyncio/unix_events.py (right): https://codereview.appspot.com/66190043/diff/1/asyncio/unix_events.py#newcode346 asyncio/unix_events.py:346: and not pipe.isatty()): I think this ought to be ...
10 years, 2 months ago (2014-02-19 23:12:21 UTC) #1
haypo_gmail
https://codereview.appspot.com/66190043/diff/1/asyncio/unix_events.py File asyncio/unix_events.py (right): https://codereview.appspot.com/66190043/diff/1/asyncio/unix_events.py#newcode346 asyncio/unix_events.py:346: and not pipe.isatty()): On 2014/02/19 23:12:21, GvR wrote: > ...
10 years, 2 months ago (2014-02-20 08:14:46 UTC) #2
GvR
LGMT. On Thu, Feb 20, 2014 at 12:14 AM, <victor.stinner@gmail.com> wrote: > Reviewers: GvR, > ...
10 years, 2 months ago (2014-02-20 08:35:46 UTC) #3
haypo_gmail
On 2014/02/20 08:35:46, GvR wrote: > LGMT. Hum, no, it's not good yet. The cat ...
10 years, 2 months ago (2014-02-20 10:05:37 UTC) #4
GvR
I do not understand why you don't make the FD nonblocking when it's a pipe. ...
10 years, 2 months ago (2014-02-20 16:01:05 UTC) #5
haypo_gmail
On 2014/02/20 16:01:05, GvR wrote: > I do not understand why you don't make the ...
10 years, 2 months ago (2014-02-20 16:16:10 UTC) #6
xdegaye
When running the example with: python -c "while 1: print(7 * '0123456789')" | python examples/tty.py ...
9 years, 4 months ago (2014-12-19 16:37:07 UTC) #7
haypo_gmail
9 years, 4 months ago (2014-12-19 17:59:35 UTC) #8
Hi xdegaye,

This old review is not the best place to discuss the TTY issue. You should
discuss it on the Tulip mailing list, Tulip bug tracker, or event the Python bug
tracker, to get more feedback.

I'm not sure that it's possible to support correctly TTY in Python, I mean not
using file descriptors.

Victor
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b