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
Unpacking an iterable with an overloaded __iter__ method leads to variable silently being inferred as Any #14811
Mypy should have enough information here to infer that the type of a is bytes (and should probably ask for an explicit annotation if it can't infer that, rather than silently inferring Any).
Activity
sobolevn commentedon Mar 1, 2023
@AlexWaygood are you working on this? Or can I take this? :)
AlexWaygood commentedon Mar 1, 2023
Not working on it, feel free!
Fix unpack with overloaded `__iter__` method (#14817)