Issue2395
Created on 2015-09-12.13:42:16 by ztane, last changed 2016-02-08.15:57:16 by zyasoft.
msg10250 (view) |
Author: Antti Haapala (ztane) |
Date: 2015-09-12.13:42:15 |
|
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.
|
msg10728 (view) |
Author: Jim Baker (zyasoft) |
Date: 2016-02-08.15:57:16 |
|
We actually have two parsers, one for the console and one for normal compilation, due to the need to support interactive completions. Having two has been a source of many problems!
|
|
Date |
User |
Action |
Args |
2016-02-08 15:57:16 | zyasoft | set | nosy:
+ fwierzbicki, zyasoft messages:
+ msg10728 |
2015-09-12 13:42:29 | ztane | set | type: behaviour |
2015-09-12 13:42:16 | ztane | create | |
|