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 mdk
Recipients docs@python, martin.panter, mdk
Date 2018-06-16.14:52:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529160779.7.0.56676864532.issue33878@psf.upfronthosting.co.za>
In-reply-to
Content
Agree, the empty list could be merged, the only special-case is the "single item in parenthesis", as always.

I'm still exploring the path to simplicity over explicitly listing everything (but in the reference, explicitly listing could be what we need):

    Assignment of an object to a target list, optionally enclosed in parentheses or square brackets, is recursively defined as follows.

        If the target list is a single target in parentheses: The object is assigned to that target.
        Else the object must be an iterable with the same number of items as there are targets in the target list, and the items are assigned, from left to right, to the corresponding targets.

What do you think? Should we go full-explicit, with trailing comas and everything?
History
Date User Action Args
2018-06-16 14:52:59mdksetrecipients: + mdk, docs@python, martin.panter
2018-06-16 14:52:59mdksetmessageid: <1529160779.7.0.56676864532.issue33878@psf.upfronthosting.co.za>
2018-06-16 14:52:59mdklinkissue33878 messages
2018-06-16 14:52:59mdkcreate