Crash parsing file where a dictionaries value is being assigned to None #7461
Labels
Crash 💥
A bug that makes pylint crash
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Regression
Milestone
Bug description
Pylint fails to parse this file and crashes. The error is the
temp_post_data[key] = None
as removing that line works, additionally change fromfor key in self.request_data:
tofor key, _ in self.request_data.items():
also workspylint-crash-2022-09-14-14-14-11.zip
Configuration
No response
Command used
Pylint output
Expected behavior
Pylint to pass the file.
Works with:
pylint 2.15.0
astroid 2.12.9
Python 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)]
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: