[issue44064] Python39/lib/logging/__init__.py SyntaxError: cannot delete starred

Jelle Zijlstra report at bugs.python.org
Thu May 6 22:32:06 EDT 2021


Jelle Zijlstra <jelle.zijlstra at gmail.com> added the comment:

"del t, v, tb" is perfectly legal Python syntax. It's whatever tool is showing a syntax error there (jedi, apparently) that's buggy.

% python3.9
Python 3.9.4 (default, Apr  9 2021, 09:47:14) 
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a = b = c = 1
>>> del a, b, c
>>>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44064>
_______________________________________


More information about the Python-bugs-list mailing list