brett at python.org
Tue Mar 6 00:12:58 CET 2007
On 3/5/07, Talin <talin at acm.org> wrote:
> number of ideas that have been borrowed from Python. In particular, the
> will be a pleasant addition to the language.
> superset of the Python functionality.
> If you are interested, you might have a look at this page:
> Go to the section called "Destructuring assignment" to check out how the
> new syntax is going to work.
> variables to be skipped:
> [a,,b] = [1,2,3]
> In other words, a is assigned the value 1, the value 2 is thrown away,
> and b is assigned the value 3. In today's Python, this requires a dummy
It skips in the middle?!? Yuck.
> I admit that this is not a particularly important feature; However,
> would be appropriate to return the favor?
I personally am -1 on the idea. Explicit is better than implicit.
More information about the Python-ideas