summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/gen-yield-from-throw.py
diff options
context:
space:
mode:
authorDaniël van de Giessen <daniel@dvdgiessen.nl>2025-04-16 14:17:14 +0200
committerDamien George <damien@micropython.org>2025-05-07 17:25:43 +1000
commitaedaa405953f6fad29ecd5e16d10de126ecb1af2 (patch)
treeb172b81ec1d0ebb44c6a412bc478ba9c78ff79fe /tests/basics/gen-yield-from-throw.py
parent2b29b1b8f9dc7014c27d9df43ca0ebd3ccc86060 (diff)
downloadmicropython-aedaa405953f6fad29ecd5e16d10de126ecb1af2.tar.gz
micropython-aedaa405953f6fad29ecd5e16d10de126ecb1af2.zip
py/modthread: Initialize thread state nlr_top to NULL.
This ensures the check in MP_NLR_JUMP_HEAD works as expected and nlr_jump_fail gets called so we get a bit better error message. Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Diffstat (limited to 'tests/basics/gen-yield-from-throw.py')
0 files changed, 0 insertions, 0 deletions