Message10250

Author ztane
Recipients ztane
Date 2015-09-12.13:42:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442065336.82.0.995890584941.issue2395@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-09-12 13:42:16ztanesetrecipients: + ztane
2015-09-12 13:42:16ztanesetmessageid: <1442065336.82.0.995890584941.issue2395@psf.upfronthosting.co.za>
2015-09-12 13:42:16ztanelinkissue2395 messages
2015-09-12 13:42:15ztanecreate