]> granicus.if.org Git - python/commit
Issue #23996: Added _PyGen_SetStopIterationValue for safe raising
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 6 Nov 2016 16:47:03 +0000 (18:47 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 6 Nov 2016 16:47:03 +0000 (18:47 +0200)
commit60e49aa7560ca70bc5de461abc68eb72d8739e17
treececbf64f1c2c52048c04d337132af485aeffd87a
parentf66f03bd358c3c481292f2624b8c947f4f77c370
parent24411f8a8daace4ebf8abd41091b681160b4fb89
Issue #23996: Added _PyGen_SetStopIterationValue for safe raising
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
Include/genobject.h
Lib/test/test_asyncgen.py
Lib/test/test_coroutines.py
Lib/test/test_generators.py
Lib/test/test_yield_from.py
Modules/_asynciomodule.c
Objects/genobject.c