summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorCody Maloney <cmaloney@users.noreply.github.com>2024-10-08 11:49:50 (GMT)
committerGitHub <noreply@github.com>2024-10-08 11:49:50 (GMT)
commit43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e (patch)
tree7797f9403c1a7c7c7ea1d3981bd0d72c3313261a /Python/pythonrun.c
parente4292c041018dd9e831e541b515fec1119f92690 (diff)
downloadcpython-43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e.zip
cpython-43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e.tar.gz
cpython-43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e.tar.bz2
gh-90102: Fix pyio _isatty_open_only() (#125089)
Spotted by @ngnpope. `isatty` returns False to indicate the file is not a TTY. The C implementation of _io does that (`Py_RETURN_FALSE`) but I got the bool backwards in the _pyio implementaiton.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions