aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorJamie Phan <jamie@ordinarylab.dev>2024-01-10 16:21:00 +1100
committerGitHub <noreply@github.com>2024-01-09 21:21:00 -0800
commit4826d52338396758b2d6790a498c2a06eec19a86 (patch)
treee1dc94c361fbc8ffb62d108bc8587b7072cd522a /Lib/tkinter
parent5d8a3e74b51a59752f24cb869e7daa065b673f83 (diff)
downloadcpython-4826d52338396758b2d6790a498c2a06eec19a86.tar.gz
cpython-4826d52338396758b2d6790a498c2a06eec19a86.zip
gh-112182: Replace StopIteration with RuntimeError for future (#113220)
When an `StopIteration` raises into `asyncio.Future`, this will cause a thread to hang. This commit address this by not raising an exception and silently transforming the `StopIteration` with a `RuntimeError`, which the caller can reconstruct from `fut.exception().__cause__`
Diffstat (limited to 'Lib/tkinter')
0 files changed, 0 insertions, 0 deletions