1 | initial version |
For what it's worth, more "generalized" star unpacking is supported in more recent versions of Python 3 (I think 3.5+, maybe 3.6+):
>>> a = [1, 2, 3]
>>> b = [4, 5, 6]
>>> [*a, b]
[1, 2, 3, [4, 5, 6]]
This is just a general Python question though. Sage doesn't use Python 3 by default yet, though the next version will have significant progress toward Python 3 support.