Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a crash in the modified-iterating-dict checker involving instance attributes #7472

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

jacobtylerwalls
Copy link
Member

Type of Changes

Type
🐛 Bug fix

Description

Closes #7461

As of bcd4ca3 we know that the iter_obj is a Name or an Attribute, so tighten the typing.

@jacobtylerwalls jacobtylerwalls added the Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer label Sep 15, 2022
@jacobtylerwalls jacobtylerwalls added this to the 2.15.3 milestone Sep 15, 2022
@coveralls
Copy link

coveralls commented Sep 15, 2022

Pull Request Test Coverage Report for Build 3064459061

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0008%) to 95.317%

Totals Coverage Status
Change from base Build 3059743395: 0.0008%
Covered Lines: 17037
Relevant Lines: 17874

💛 - Coveralls

@github-actions
Copy link
Contributor

🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉

This comment was generated for commit 5f4ba20

@Pierre-Sassoulas Pierre-Sassoulas merged commit fb30fe0 into pylint-dev:main Sep 16, 2022
@jacobtylerwalls jacobtylerwalls deleted the crash-attributes branch September 16, 2022 11:24
@Pierre-Sassoulas Pierre-Sassoulas added Backported and removed Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer labels Sep 16, 2022
Pierre-Sassoulas pushed a commit to Pierre-Sassoulas/pylint that referenced this pull request Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash parsing file where a dictionaries value is being assigned to None
3 participants