aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/internal/pycore_pyerrors.h
diff options
context:
space:
mode:
authorCody Maloney <cmaloney@users.noreply.github.com>2025-05-21 10:51:56 -0400
committerGitHub <noreply@github.com>2025-05-21 16:51:56 +0200
commit5b0e82752120a5dc66ce6ee778751d71ba2c33b2 (patch)
tree82da1f1599316caffbd8e9178eebbe17cae41e4d /Include/internal/pycore_pyerrors.h
parent06eaf4055c1d7359e129efb65b94f34d2ec51a57 (diff)
downloadcpython-5b0e82752120a5dc66ce6ee778751d71ba2c33b2.tar.gz
cpython-5b0e82752120a5dc66ce6ee778751d71ba2c33b2.zip
gh-133982: Run unclosed file test on all io implementations (gh-134165)
Update `test_io` `_check_warn_on_dealloc` to use `self.` to dispatch to different I/O implementations. Update the `_pyio` implementation to match expected behavior, using the same `_dealloc_warn` design as the C implementation uses to report the topmost `__del__` object. The FileIO one now matches all the others, so can use IOBase. There was a missing check on closing (self._fd must be valid), add that check
Diffstat (limited to 'Include/internal/pycore_pyerrors.h')
0 files changed, 0 insertions, 0 deletions