Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Use fully qualified names for ambiguous class names resembling builtins. #8425
msullivan left a comment
This seems to break a bunch of existing cases.
To figure out what names to worry about, I'd just use the list from TYPES_FOR_UNIMPORTED_HINTS in
Please also make sure to add tests.
@msullivan Thanks for the suggestions! I've updated some older outputs that needed changing, I'll try and add a couple of new test cases too.
@JelleZijlstra Thank you! I don't know how to load version-specific stubs though, could you tell me where to start looking?