git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]# a,b = 2,3 and [a,b] = [2,3]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02.09.19 12:24, Chris Angelico ????: > But the curious difference happens in 3.7. I don't know what changed > to cause this, but from there on, the list gets built and then > unpacked. This was a side effect of moving the optimization for `x in [a, b]` from the peepholer to the AST optimizer.

- Prev by Date:
**Execute complex shell commands within python and obtain the output.** - Next by Date:
**a,b = 2,3 and [a,b] = [2,3]** - Previous by thread:
**a,b = 2,3 and [a,b] = [2,3]** - Next by thread:
**a,b = 2,3 and [a,b] = [2,3]** - Index(es):