gh-110378: Close invalid generators in contextmanager and asynccontextmanager (GH-110499)
contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value.
S
Serhiy Storchaka committed
96fed66a65097eac2dc528ce29c9ba676bb07689
Parent: def7ea5
Committed by GitHub <noreply@github.com>
on 10/10/2023, 7:43:04 AM