[issue23353] generator bug with exception: tstate->exc_value is not cleared after an except block

STINNER Victor report at bugs.python.org
Sat Jan 31 01:22:21 CET 2015


STINNER Victor added the comment:

Last major change related to generators in Python/ceval.c:
---
changeset:   47594:212a1fee6bf9
parent:      47585:b0ef00187a7e
user:        Benjamin Peterson <benjamin at python.org>
date:        Wed Jun 11 15:59:43 2008 +0000
files:       Doc/library/dis.rst Doc/library/inspect.rst Doc/library/sys.rst Doc/reference/datamodel.rst Include/frameobject.h Include/opcode.h Lib/doctest.py Li
description:
#3021: Antoine Pitrou's Lexical exception handlers
---

This change introduced SWAP_EXC_STATE() and SAVE_EXC_STATE().

----------
title: gnerator bug with exception: tstate->exc_value is not cleared after an except block -> generator bug with exception: tstate->exc_value is not cleared after an except block

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23353>
_______________________________________


More information about the Python-bugs-list mailing list