Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 254 Bytes

2023-11-26-21-30-11.gh-issue-111058.q4DqDY.rst

File metadata and controls

3 lines (3 loc) · 254 Bytes

Change coro.cr_frame/gen.gi_frame to return None after the coroutine/generator has been closed. This fixes a bug where :func:`~inspect.getcoroutinestate` and :func:`~inspect.getgeneratorstate` return the wrong state for a closed coroutine/generator.