diff options
author | Cody Maloney <cmaloney@users.noreply.github.com> | 2024-10-08 11:49:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 11:49:50 (GMT) |
commit | 43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e (patch) | |
tree | 7797f9403c1a7c7c7ea1d3981bd0d72c3313261a /Python/Python-ast.c | |
parent | e4292c041018dd9e831e541b515fec1119f92690 (diff) | |
download | cpython-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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions