called code side effect #3620
Labels
Astroid
Related to astroid
inference
Needs investigation 🔬
A bug or crash where it's not immediately obvious what is happenning
Spin off from bug #3611 to reduce noise.
Steps to reproduce
venv
pip install pylint flask pyserial
grut.py
at root of venv directory:grut.py
, uncomment the 2nd or 3rdprint()
instead of the 1st oneOpen questions
OSError.strerror
is astr
so the membership test is a false negative. It could also beNone
but theisinstance()
gets us in path where we know for surein
is going to be allowed.Useful information (I think…)
serial.SerialException
inherits fromIOError
IOError
is an "alias" (as per the CPython code) ofOSError
IOError
exceptions with a modifiedstrerror
attribute:from_pyfile
)from_json
)pylint --version output
The text was updated successfully, but these errors were encountered: