Skip to content

Avoid crash in edge case of multiple assignment. - #1451

Merged
gvanrossum merged 1 commit into
masterfrom
tuples
Apr 29, 2016
Merged

gvanrossum merged 1 commit into
masterfrom
tuples

Conversation

@gvanrossum

Copy link
Copy Markdown
Member

Fix #974, # 1420, #1438.

@gvanrossum

Copy link
Copy Markdown
Member Author

Having thought more about this, I think we can do better. E.g. in x, y = a, b = 1, 2 we should be able to infer the types of x and y properly; I'm not convinced the current code gets this right.

@gvanrossum

Copy link
Copy Markdown
Member Author

Actually I can't come up with an example where that would matter, so merging. We can always iterate later if a use case comes up.

@gvanrossum
gvanrossum merged commit fa70fc5 into master Apr 29, 2016
@gvanrossum
gvanrossum deleted the tuples branch May 4, 2016 17:02
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.

1 participant