[issue30402] Unexpected and/or inconsistent del behavior
Raymond Hettinger
report at bugs.python.org
Fri May 19 00:46:10 EDT 2017
Raymond Hettinger added the comment:
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.
----------
nosy: +rhettinger
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30402>
_______________________________________
More information about the Python-bugs-list
mailing list