[issue14701] parser module doesn't support 'raise ... from'
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fc17f70292f6 by Mark Dickinson in branch '3.2': Issue #14701: Add missing support for 'raise ... from' in parser module. http://hg.python.org/cpython/rev/fc17f70292f6 New changeset 0dd0d56bdcc1 by Mark Dickinson in branch 'default': Issue #14701: Merge fix from 3.2. http://hg.python.org/cpython/rev/0dd0d56bdcc1 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14701 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14701] parser module doesn't support 'raise ... from'
Mark Dickinson dicki...@gmail.com added the comment: Now fixed. Terry: I suggest opening a separate doc issue for the 'CPython-specific' issue -- assignee: - mark.dickinson components: +Library (Lib) resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14701 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14701] parser module doesn't support 'raise ... from'
Terry J. Reedy tjre...@udel.edu added the comment: Just curious, should The parser module provides an interface to Python’s internal parser and byte-code compiler. say CPython's? -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14701 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14701] parser module doesn't support 'raise ... from'
Mark Dickinson dicki...@gmail.com added the comment: Hmm. Possibly, yes. At least, it should be clear somehow from the docs that the parser, symbol, token and ast modules are CPython specific. (And possibly tokenize, too.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14701 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14701] parser module doesn't support 'raise ... from'
New submission from Mark Dickinson dicki...@gmail.com: import parser parser.tuple2st(parser.expr('raise exc from e')) Traceback (most recent call last): File stdin, line 1, in module File string, line 1 raise exc from e -- messages: 159724 nosy: mark.dickinson priority: normal severity: normal stage: needs patch status: open title: parser module doesn't support 'raise ... from' type: behavior versions: Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14701 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14701] parser module doesn't support 'raise ... from'
Mark Dickinson dicki...@gmail.com added the comment: Patch attached. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file25429/parser_yieldfrom.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14701 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14701] parser module doesn't support 'raise ... from'
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14701 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com