Crash with -j 2
when linting empty file
#7635
Labels
Blocker 🙅
Blocks the next release
Crash 💥
A bug that makes pylint crash
macOS
multiprocessing
Needs investigation 🔬
A bug or crash where it's not immediately obvious what is happenning
Regression
Milestone
Bug description
Noticed this crash while linting an empty file with
-j 2
. It might be OS dependent as so far I can only reproduce it on MacOS. Linux seems fine.Bisected the issue to #7284.
In particular this line:
https://github.com/PyCQA/pylint/blob/77e8ae4f3902697babb186482f577a2c8b1a3725/pylint/lint/pylinter.py#L379
/CC: @daogilvie, @DanielNoord
Configuration
No response
Command used
Pylint output
Expected behavior
No crash
Pylint version
OS / Environment
MacOS
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: