-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
crash with python 3.12 alpha #8293
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
Comments
(note that the code analyzes fine with 3.11 and lower) |
Thank you for filling the first 3.12 issue :) |
Cheers! I have one small project where I try to keep on the bleeding edge of a few things because interesting stuff happens |
I think this minimized version is reproducing the same problem. """minimised reproducer"""
table = [[1,]]
for i in (0,3):
x = table[i][0] Here it can be clearly seen that the index into |
.. as there are only 3 rows (1AM, 2AM, 3AM) in 'table 9' Strangely, this does not fix pylint-dev/pylint#8293 even though it looks like the underlying cause of 8293 is that static analysis is showing an out of bounds access into the array.
Thanks for the report. See #8695 (comment) for the links to the upstream fixes in CPython. Duplicate of #8695. Keep the 3.12 issues coming! :D |
Thanks for the update! |
Bug description
/wwvbpy/src/wwvb/init.py:1:0: F0002: wwvbpy/src/wwvb/init.py: Fatal error while checking 'wwvbpy/src/wwvb/init.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/root/.cache/pylint/pylint-crash-2023-02-14-18-37-21.txt'. (astroid-error)
Configuration
No response
Command used
Pylint output
pylint crashed with a
AstroidError
and with the following stacktrace:OS / Environment
docker python:3.12-rc-bullseye
Additional dependencies
astroid==2.14.2
dill==0.3.6
isort==5.12.0
lazy-object-proxy==1.9.0
mccabe==0.7.0
platformdirs==3.0.0
pylint==2.16.2
tomlkit==0.11.6
wrapt==1.14.1
The text was updated successfully, but these errors were encountered: