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
The code above shows that mypy thinks that the d.f() expression is a string, while it's actually an int. Shouldn't this kind of redefinitions be forbidden?
I have looked before opening but couldn't find one... After a second look, there's a mention to this in #1338 , but they seem to be two related but distinct issues.
Activity
gvanrossum commentedon Oct 3, 2016
dmoisset commentedon Oct 3, 2016
I have looked before opening but couldn't find one... After a second look, there's a mention to this in #1338 , but they seem to be two related but distinct issues.
gvanrossum commentedon Oct 3, 2016
For class variables, lookup type in base classes (#1338, #2022, #2211) (
Revert "For class variables, lookup type in base classes (#1338, #2022,
Revert "For class variables, lookup type in base classes (#1338, #2022,
For class variables, lookup type in base classes (#1338, #2022, #2211) (
gvanrossum commentedon Jan 27, 2017
Fixed by #2510.