commit | 584b1fdb7bb5d4ccd631b9216be89d9adad490bf | [log] [tgz] |
---|---|---|
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | Tue Sep 26 08:18:10 2023 -0400 |
committer | GitHub <noreply@github.com> | Tue Sep 26 08:18:10 2023 -0400 |
tree | fd0ce4acc24c325bd1ce35f2858257d6ab2d7504 | |
parent | 29b42e5e9745b172d5980511d14efeac745a5a82 [diff] |
False positive ``unsubscriptable-object`` (#2307) (#2309) Fix a regression in 2.15.7 for ``unsubscriptable-object``. Raise an `InferenceError` when there is a `SyntaxError` due to an invalid `TypeVar` name. This reverts commit 89dfb4857670a67920d0f3ab88857d697787901d. Closes #2305 Closes pylint-dev/pylint#9069 (cherry picked from commit 1f0f2f8f780c3b639307a5f326b3963fdd6fa160) Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>