New submission from rmtew <richard.m....@gmail.com>: Platform Windows 7. hg id: a3f2dba93743+ (3.2)
I do not know any reproduction steps for this bug outside as a side-effect within an incomplete and problematic Stackless merge. This bug also seems to exist in cpython, and is not in Stackless specific code. It seems to be bad exception handling, but maybe I do not understand all cases where this code is used. 1. ast_error_finish is called. 2. It calls PyErr_Fetch(&type, &value, &tback); 3. It them proceeds to treat 'value' as a tuple which results in PyErr_BadInternalCall being called and then being used in place of the original exception. Reproduction steps: 1. Sync http://hg.python.org/stackless. 2. Update to 3.2-slp branch. 3. Merge in changes from v3.2.1 to v3.2.2. 4. Compile and run regression tests. 5. Several exceptions will happen along the lines of bad argument where ast exceptions have happened and hit the problem above. ---------- files: ast.diff keywords: patch messages: 145158 nosy: rmtew priority: normal severity: normal status: open title: bad argument exceptions observed in AST versions: Python 3.2 Added file: http://bugs.python.org/file23343/ast.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13129> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com