Message306209
On Tue, Nov 14, 2017 at 01:31:52PM +0000, Nick Coghlan wrote:
> If limited to the original scope, this isn't a new special case, it's fixing a bug in the implementation of the existing special case (where it's ignoring the trailing comma when it shouldn't be).
This ignores the trailing comma:
f([1,2,3],)
And this:
f(x for x in [1,2,3],)
Seems logical to me.
Do you want to allow the 1,2 to be read as a tuple?
f(x for x in 1,2) |
|
Date |
User |
Action |
Args |
2017-11-14 13:43:30 | skrah | set | recipients:
+ skrah, gvanrossum, brett.cannon, ncoghlan, benjamin.peterson, serhiy.storchaka, yselivanov, cryvate |
2017-11-14 13:43:30 | skrah | link | issue32012 messages |
2017-11-14 13:43:30 | skrah | create | |
|