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 visit_assign and visit_subscript to handle dictionary assignments #10053

Closed
wants to merge 2 commits into from

Conversation

chitvs
Copy link

@chitvs chitvs commented Oct 29, 2024

Type of Changes

Type
βœ“ πŸ› Bug fix
βœ“ ✨ New feature
βœ“ πŸ”¨ Refactoring
βœ“ πŸ“œ Docs

Description

This PR addresses the handling of unsupported item assignments in nested dictionaries within the visit_assign and visit_subscript methods. It ensures that the code can handle cases where dictionaries are assigned to keys properly, preventing potential errors.

Closes #10050

Copy link
Contributor

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 174882d

@jacobtylerwalls
Copy link
Member

jacobtylerwalls commented Oct 31, 2024

Hi @chitvs, thanks for your contribution. Would you have the opportunity to look into the failing tests? Also, a regression test is required. You can browse recent PRs or the contributing docs for some pointers, and feel free to ask questions.

@chitvs
Copy link
Author

chitvs commented Oct 31, 2024

Hi @chitvs, thanks for your contribution. Would you have the opportunity to look into the failing tests? Also, a regression test is required. You can browse recent PRs or the contributing docs for some pointers, and feel free to ask questions.

Sure, I will.

@chitvs
Copy link
Author

chitvs commented Nov 6, 2024

I looked at tests and my edits can't solve the issue, so I'm easily going to close this PR.

@chitvs chitvs closed this Nov 6, 2024
@chitvs chitvs deleted the fix-unsupported-assignment branch November 6, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unsupported-assignment-operation false positive
2 participants