diff options
author | DPR <dpr-0xff@pm.me> | 2023-11-16 17:40:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 17:40:55 (GMT) |
commit | 2ef3676a5bb8fba531fb8237ce50c27ebe37fb96 (patch) | |
tree | 62808eeca48555c4478f4dc3e0b34955c06836b8 /Python/import.c | |
parent | 3f2cdbe6668ae40e72a8a8f1530c860a776d0c62 (diff) | |
download | cpython-2ef3676a5bb8fba531fb8237ce50c27ebe37fb96.zip cpython-2ef3676a5bb8fba531fb8237ce50c27ebe37fb96.tar.gz cpython-2ef3676a5bb8fba531fb8237ce50c27ebe37fb96.tar.bz2 |
[3.12] gh-109538: Catch closed loop runtime error and issue warning (GH-111983) (#112142)
* [3.12] gh-109538: Avoid RuntimeError when StreamWriter is deleted with closed loop (GH-111983)
Issue a ResourceWarning instead.
(cherry picked from commit e0f512797596282bff63260f8102592aad37cdf1)
gh-109538: Avoid RuntimeError when StreamWriter is deleted with closed loop (#111983)
Issue a ResourceWarning instead.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
(cherry picked from commit e0f512797596282bff63260f8102592aad37cdf1)
* Fix missing warnings import
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions