diff options
author | Victor Stinner <vstinner@python.org> | 2024-04-30 20:32:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 20:32:55 (GMT) |
commit | e93c39b47ea623dfaf61f80775ad4747b163efe5 (patch) | |
tree | 0747773aa2298b73ff300c94dae89974dfc8f796 /Python/preconfig.c | |
parent | 587388ff22dc7cfa4b66722daf0d33cd804af9f2 (diff) | |
download | cpython-e93c39b47ea623dfaf61f80775ad4747b163efe5.zip cpython-e93c39b47ea623dfaf61f80775ad4747b163efe5.tar.gz cpython-e93c39b47ea623dfaf61f80775ad4747b163efe5.tar.bz2 |
gh-118422: Fix run_fileexflags() test (#118429)
Don't test the undefined behavior of fileno()
on a closed file, but use fstat() as a reliable
test if the file was closed or not.
Diffstat (limited to 'Python/preconfig.c')
0 files changed, 0 insertions, 0 deletions