You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
inspect.getgeneratorstate() fails on _GeneratorWrapper with AttributeError: gi_suspended #143999
When a generator function decorated with @types.coroutine returns a generator, calling inspect.getgeneratorstate() on the resulting _GeneratorWrapper object raises an AttributeError. This happens because _GeneratorWrapper does not have the gi_suspended attribute expected by inspect.getgeneratorstate().
Activity
gh-143999: Fix: handle suspended state on types.coroutine wrappers (G…
pythongh-143999: Fix: handle suspended state on types.coroutine wrapp…
pythongh-143999: Fix: handle suspended state on types.coroutine wrapp…
[3.13] gh-143999: Fix: handle suspended state on types.coroutine wrap…
[3.14] gh-143999: Fix: handle suspended state on types.coroutine wrap…
pythongh-143999: Fix: handle suspended state on types.coroutine wrapp…