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