aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Objects/frameobject.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-04-25 08:00:42 +0300
committerGitHub <noreply@github.com>2024-04-25 08:00:42 +0300
commit546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe (patch)
tree4096698bc896c85dad8072363bddc2e8464b1127 /Objects/frameobject.c
parent4b10e209c76f9f36f8ae2e4d713b3a01591c1856 (diff)
downloadcpython-546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe.tar.gz
cpython-546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe.zip
gh-117968: Make the test for closed file more safe in the C API tests (GH-118230)
The behavior of fileno() after fclose() is undefined, but it is the only practical way to check whether the file was closed. Only test this on the known platforms (Linux, Windows, macOS), where we already tested that it works.
Diffstat (limited to 'Objects/frameobject.c')
0 files changed, 0 insertions, 0 deletions