[issue14701] parser module doesn't support 'raise ... from'

2012-05-07 Thread Mark Dickinson
Mark Dickinson 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 <

[issue14701] parser module doesn't support 'raise ... from'

2012-05-07 Thread Roundup Robot
Roundup Robot 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:

[issue14701] parser module doesn't support 'raise ... from'

2012-05-04 Thread Mark Dickinson
Mark Dickinson 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

[issue14701] parser module doesn't support 'raise ... from'

2012-05-04 Thread Terry J. Reedy
Terry J. Reedy 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 _

[issue14701] parser module doesn't support 'raise ... from'

2012-04-30 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14701] parser module doesn't support 'raise ... from'

2012-04-30 Thread Mark Dickinson
Mark Dickinson added the comment: Patch attached. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file25429/parser_yieldfrom.patch ___ Python tracker _

[issue14701] parser module doesn't support 'raise ... from'

2012-04-30 Thread Mark Dickinson
New submission from Mark Dickinson : >>> import parser >>> parser.tuple2st(parser.expr('raise exc from e')) Traceback (most recent call last): File "", line 1, in File "", line 1 raise exc from e -- messages: 159724 nosy: mark.dickinson priority: normal severity: normal stage: n