Skip to content

New semantic analyzer: fix deserialization crash with module __getattr__ #6614

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

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Apr 3, 2019

We could generate a cross ref to a dummy node from module-level
__getattr__ which would cause a crash.

We could generate a cross ref to a dummy node from module-level
`__getattr__` which would cause a crash.
Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, thanks for the quick fix!

I am going to merge this now.

@ilevkivskyi ilevkivskyi merged commit 65757aa into master Apr 3, 2019
@ilevkivskyi ilevkivskyi deleted the semanal-getattr-incr branch April 3, 2019 12:05
@JukkaL JukkaL requested a review from ilevkivskyi April 3, 2019 12:26
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.

2 participants