-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in Astroid version 2.15.7 in handling subscriptable type parameters #2305
Comments
Thanks for the report. |
@mbyrnepr2 Would you be willing to take a look? |
mbyrnepr2
added a commit
to mbyrnepr2/astroid
that referenced
this issue
Sep 25, 2023
- Raise an `InferenceError` when there is a `SyntaxError` due to an invalid `TypeVar` name. Closes pylint-dev#2305 Closes pylint-dev/pylint#9069
mbyrnepr2
added a commit
to mbyrnepr2/astroid
that referenced
this issue
Sep 25, 2023
- Raise an `InferenceError` when there is a `SyntaxError` due to an invalid `TypeVar` name. Closes pylint-dev#2305 Closes pylint-dev/pylint#9069
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Sep 25, 2023
jacobtylerwalls
pushed a commit
that referenced
this issue
Sep 26, 2023
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 89dfb48. Closes #2305 Closes pylint-dev/pylint#9069
github-actions bot
pushed a commit
that referenced
this issue
Sep 26, 2023
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 89dfb48. Closes #2305 Closes pylint-dev/pylint#9069 (cherry picked from commit 1f0f2f8)
jacobtylerwalls
pushed a commit
that referenced
this issue
Sep 26, 2023
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 89dfb48. Closes #2305 Closes pylint-dev/pylint#9069 (cherry picked from commit 1f0f2f8) Co-authored-by: Mark Byrne <[email protected]>
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Sep 26, 2023
Pierre-Sassoulas
pushed a commit
to mbyrnepr2/pylint
that referenced
this issue
Sep 27, 2023
jacobtylerwalls
pushed a commit
to pylint-dev/pylint
that referenced
this issue
Sep 30, 2023
jacobtylerwalls
pushed a commit
to pylint-dev/pylint
that referenced
this issue
Sep 30, 2023
Refs #9069 Refs pylint-dev/astroid#2305 (cherry picked from commit 04f7b3d)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Astroid version 2.15.7 fails to correctly handle a subscriptable type parameter most likely due to the change in this PR.
Steps to reproduce
Current behavior
Pylint (running Astroid 2.15.7) gives the following error for the example above:
Expected behavior
Astroid should correctly handle a subscriptable type parameter.
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
output2.15.7
The text was updated successfully, but these errors were encountered: