recursion error on windows when running pylint with a path to an __init__.py
file with a lambda and an import, when the file path is specified with different capitalization
#10137
Labels
Bug 🪲
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
performance
Windows 🪟
Bug affecting only Windows users
Bug description
when running pylint on a file path with different capitalization (which is allowed because file paths in windows are case-insensitive), these recursion errors are printed, sometimes infinitely.
i was able to narrow it down to this minimal example where the error is only printed once, but in my codebase it seems to print these errors infinitely, causing a memory leak in the pylint vscode extension (microsoft/vscode-pylint#583) i assume because it's storing the infinite output in memory while it waits for pylint to finish running, which it never does.
Command used
error
no error
Pylint output
Expected behavior
no error
Pylint version
OS / Environment
windows 11
The text was updated successfully, but these errors were encountered: