mhsmith
changed the title
Make
Make os.get_terminal_size check isatty before ioctlos.get_terminal_size check isatty before calling ioctl
mhsmith marked this pull request as ready for review
July 29, 2026 16:17freakboy3742 pushed a commit that referenced this pull request
Jul 30, 2026mbeijen pushed a commit to mbeijen/cpython that referenced this pull request
Aug 14, 2026…thon#154885) Calling ioctl on stdout raises warnings on Android. Ensure we have a TTY before doing terminal size calls.