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
test.py:3: error: "bytes" has no attribute "encode"; maybe "decode"?
But as far as I can tell, this is backwards! x.encode("ascii") is only called when isinstance(x, str), not in the else case (where x is a bytes object).
This is with the latest mypy==0.530
mplanchard, StefanBrand, DetachHead, KotlinIsland, willir and 4 more