mirror of
https://github.com/python/cpython.git
synced 2026-05-09 22:20:38 -04:00
02047265eb
Before this commit, if an exception was active inside a generator when calling gen.throw(), that exception was lost (i.e. there was no implicit exception chaining). This commit fixes that by setting exc.__context__ when calling gen.throw(exc).
Source files for various builtin objects