Julien Palard <julien+pyt...@palard.fr> added the comment:
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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33878> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com