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
{{ message }}
Repository navigation
Commit 8577346
Browse filesBrowse the repository at this point in the historyBrowse files
raw_building modelled a data descriptor of a C-implemented class as a
class named after the attribute, so reading such an attribute inferred
that class rather than a value: exc.__traceback__.tb_frame inferred a
tb_frame class and gen.gi_frame a gi_frame class. Attributes of the
frame those descriptors return were then reported as missing, e.g.
E1101 Class 'tb_frame' has no 'f_locals' member.
Build an unknown value instead, the same node the fallback branch of
InspectBuilder.object_build already uses for members astroid cannot
model. The attribute itself stays resolvable; only its value is now
Uninferable.
Closespylint-dev/pylint#11218
0 commit comments