◐ Shell
clean mode source ↗

Make Android streams respect the unbuffered (`-u`) option by mhsmith · Pull Request #138806 · python/cpython

@mhsmith

freakboy3742

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 18, 2025
…38806)

Android pipes stdout/stderr to the log, which means every write to the log
becomes a separate log line. As a result, most practical uses of stdout/stderr
should be buffered; but it doesn't hurt to preserve unbuffered handling in case
it's useful.
(cherry picked from commit 0ac377f)

Co-authored-by: Malcolm Smith <smith@chaquo.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 18, 2025
…38806)

Android pipes stdout/stderr to the log, which means every write to the log
becomes a separate log line. As a result, most practical uses of stdout/stderr
should be buffered; but it doesn't hurt to preserve unbuffered handling in case
it's useful.
(cherry picked from commit 0ac377f)

Co-authored-by: Malcolm Smith <smith@chaquo.com>

Yhg1s pushed a commit that referenced this pull request

Sep 18, 2025
…138806) (#139110)

Android pipes stdout/stderr to the log, which means every write to the log
becomes a separate log line. As a result, most practical uses of stdout/stderr
should be buffered; but it doesn't hurt to preserve unbuffered handling in case
it's useful.
(cherry picked from commit 0ac377f)

Co-authored-by: Malcolm Smith <smith@chaquo.com>

hugovk pushed a commit that referenced this pull request

Sep 29, 2025