[issue14697] parser module doesn't support set displays or set comprehensions
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 129289144dfb by Mark Dickinson in branch '3.2': Issue #14697: Fix missing parser module support for set displays and set comprehensions. http://hg.python.org/cpython/rev/129289144dfb New changeset 4815a4a4a852 by Mark Dickinson in branch 'default': Issue #14697: Merge fix from 3.2. http://hg.python.org/cpython/rev/4815a4a4a852 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14697] parser module doesn't support set displays or set comprehensions
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14697] parser module doesn't support set displays or set comprehensions
Mark Dickinson dicki...@gmail.com added the comment: Patch attached. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file25428/parser_dictorsetmaker.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14697] parser module doesn't support set displays or set comprehensions
New submission from Mark Dickinson dicki...@gmail.com: parser.tuple2st(parser.expr('{2}').totuple()) Traceback (most recent call last): File stdin, line 1, in module parser.ParserError: could not validate expression tuple [70677 refs] parser.tuple2st(parser.expr('{x**2 for x in [1, 2, 3]}').totuple()) Traceback (most recent call last): File stdin, line 1, in module parser.ParserError: could not validate expression tuple [70677 refs] This seems to be already fixed in Python 2.7. -- components: Library (Lib) messages: 159656 nosy: mark.dickinson priority: normal severity: normal stage: needs patch status: open title: parser module doesn't support set displays or set comprehensions type: behavior versions: Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com