You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should try to understand the various forms of augmented assignments. The simplest case, for instance, causes false positives with numpy.core (which is fixed in astroid through a transform, not the proper fix though)
#!python
a = [...]
a += [...]
a += [...]
a # infer with all mutations
Since I gave numpy.core as an example, the all attribute is computed by adding the all values of subimports into this attribute through augmented assignment.
Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)
Closely related to #115.
We should try to understand the various forms of augmented assignments. The simplest case, for instance, causes false positives with numpy.core (which is fixed in astroid through a transform, not the proper fix though)
Since I gave numpy.core as an example, the all attribute is computed by adding the all values of subimports into this attribute through augmented assignment.
The text was updated successfully, but these errors were encountered: