From: Antti H. <re...@bu...> - 2015-09-12 13:42:24
|
New submission from Antti Haapala: The parser issue from CPython https://bugs.python.org/issue25070 was also copied over to Jython; In Jython it appears so that f(1 for x in [1], *a) is allowed, even though not according to documented grammar. More interestingly f(*a, 1 for x in [1]) correctly reports an error if it is in a file, but makes the parser go funny in interactive interpreter. ---------- components: Core messages: 10250 nosy: ztane severity: normal status: open title: Parser bug with unparenthesized genexp with star-args versions: Jython 2.7 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue2395> _______________________________________ |