summaryrefslogtreecommitdiff
path: root/astroid/brain/brain_attrs.py
diff options
context:
space:
mode:
authorBryce Guinta <bryce.paul.guinta@gmail.com>2018-02-17 15:43:34 -0700
committerBryce Guinta <bryce.paul.guinta@gmail.com>2018-02-18 21:33:35 -0700
commit3fae32f99c7f432a1281b151ea17e163a2e8dc47 (patch)
tree3fff41d734c5eb79c801ac539645cbfb61a18f6b /astroid/brain/brain_attrs.py
parent53516228e51826440a28503cc461cfc2c6988f9b (diff)
downloadastroid-git-3fae32f99c7f432a1281b151ea17e163a2e8dc47.tar.gz
Fix augassign recursion error
The augmented assign rhs context path was deleted most likely due to a recently fixed inference bug where InferenceContext path attributes were shared between objects. Recursive functions on the right hand side of the augmented assign would forget that they were already called, causing an eventual RecursionError in astroid inference Now that the InferenceContext clone() method properly copies the inference path between Contexts, it's fine to remove this hack. Fixes #437, Fixes #447, Fixes #313, Fixes PyCQA/pylint#1642, Fixes PyCQA/pylint#1805, Fixes PyCQA/pylint#1854, Fixes PyCQA/pylint#1452
Diffstat (limited to 'astroid/brain/brain_attrs.py')
0 files changed, 0 insertions, 0 deletions