Skip to content

Fix crash related to module-level __getattr__ in incremental mode #10430

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
May 6, 2021

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented May 6, 2021

The from_module_getattr attribute of Var was not serialized, so
subsequent runs didn't know about this being from __getattr__ and
tried to create a cross-ref to the definition which doesn't actually
exist, resulting in a crash.

Fixes #10429.

The `from_module_getattr` attribute of `Var` was not serialized, so
subsequent runs didn't know about this being from `__getattr__` and
tried to create a cross-ref to the definition which doesn't actually
exist, resulting in a crash.

Fixes #10429.
@JukkaL JukkaL merged commit 4a5e311 into master May 6, 2021
@JukkaL JukkaL deleted the bad-cross-ref branch May 6, 2021 11:52
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.

Crash from module level __getattr__ in incremental mode
2 participants