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

2015-01-30 Thread STINNER Victor
STINNER Victor added the comment: I simplified the script even more: 287 lines (6 functions/generators, 7 classes/exceptions) = 28 lines (1 generator)! -- Added file: http://bugs.python.org/file37923/excinfo_bug6.py ___ Python tracker

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

2015-01-30 Thread STINNER Victor
New submission from STINNER Victor: Since my changeset a5efd5021ca1, the Python test suite starts to fail randomly. Running test_asyncio modifies sys.exc_info(): it is not (None, None, None) after the execution of test_asyncio. The problem comes from