[Python-ideas] values in vs. values out
Alexander Belopolsky
alexander.belopolsky at gmail.com
Thu Jan 13 20:23:42 CET 2011
On Thu, Jan 13, 2011 at 2:12 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> .. Part of it (the
> variable length unpacking) is the subject of PEP 3132
> <http://www.python.org/dev/peps/pep-3132/>, which was approved, but
> the implementation was postponed due to the moratorium on language
> changes in effect for 3.2 release.
I should have checked before posting. In py3k:
>>> a, *b = range(10)
>>> b
[1, 2, 3, 4, 5, 6, 7, 8, 9]
See also http://bugs.python.org/issue2292 .
More information about the Python-ideas
mailing list