[issue30238] 2to3 doesn't detect or fix Exception indexing
Daniel Lenski
report at bugs.python.org
Wed Oct 20 21:25:46 EDT 2021
Daniel Lenski <dlenski at gmail.com> added the comment:
Why was this closed?
As I wrote in a previous comment, this situation can be automatically identified and addressed via static analysis in the vastly-predominant case, where the Exception object is assigned via an `exception ... as exc:` clause.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30238>
_______________________________________
More information about the Python-bugs-list
mailing list