Closed jnguiot closed 4 years ago
Thanks for the report! This should already be fixed in the 2.4 and master branches on astroid. Please give it a go and let us know if you encounter any issues. We'll release the fix as astroid 2.4.1 in a couple of days.
Indeed I can confirm it works with the latest 2.4 version of astroid. Thank you for the quick fix!
Hello,
I have recently encounter this strange behavior on our tests. I have boiled it down to an issue with a module named
dkimpy
. However, I don't understand what is the issue and why an import would crash pylint. It seems to be linked to the new version ofpylint
Even if I am experiencing some issues with pylint today, I would like to thank you for this wonderful and useful piece of software.
Steps to reproduce
pip install pylint astroid --pre -U
pip install pylint
test.py
:pylint test.py
Notes
test.py
can be executed without issue (of course, it outputs nothing)Current behavior
It crashes with this error:
Expected behavior
It should not crash. If there is a problem with import, it should deliver an understandable message.
pylint --version output