This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients bup, rhettinger
Date 2017-05-19.04:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495169170.34.0.879300507317.issue30402@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, this is just how expression lists work.  See Grammar/Grammar at https://hg.python.org/cpython/file/tip/Grammar/Grammar

This is really no different than: 
    for [k] is s: ...
or:
    [k, j] = s

> Why not set literals

Because sets are unordered and because it isn't needed.
History
Date User Action Args
2017-05-19 04:46:10rhettingersetrecipients: + rhettinger, bup
2017-05-19 04:46:10rhettingersetmessageid: <1495169170.34.0.879300507317.issue30402@psf.upfronthosting.co.za>
2017-05-19 04:46:10rhettingerlinkissue30402 messages
2017-05-19 04:46:10rhettingercreate