Skip to content

Respect in-place operation when operator-assigning through square brackets - #2051

Merged
gvanrossum merged 1 commit into
python:masterfrom
gnprice:inplace
Aug 24, 2016
Merged

Respect in-place operation when operator-assigning through square brackets#2051
gvanrossum merged 1 commit into
python:masterfrom
gnprice:inplace

Conversation

@gnprice

Copy link
Copy Markdown
Collaborator

Fixes#2046. Previously, when checking an operator-assignment with an
IndexExpr on the left-hand side, even after determining that the operation
will happen in-place we'd forget about that a few lines later and
attempt to type-check a direct assignment, which could erroneously fail.

…ckets
Fixespython#2046. Previously, when checking an operator-assignment with an
IndexExpr on the left-hand side, even after determining that the operation
will happen in-place we'd forget about that a few lines later and
attempt to type-check a direct assignment, which could erroneously fail.
@gvanrossum
gvanrossum merged commit 3a8aaa1 into python:masterAug 24, 2016
@gnprice
gnprice deleted the inplace branch August 24, 2016 23:01
@elazargelazarg mentioned this pull request Jan 7, 2018
Sign up for freeto 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

@gnprice@gvanrossum