mirror of
https://github.com/python/cpython.git
synced 2026-06-06 19:40:45 -04:00
4826d52338
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__`
Source files for standard library extension modules, and former extension modules that are now builtin modules.