Notes to self: The addition of methods like int.__hash__ breaks pyanalyze/test_type_object.py::TestHashable::test_type in pyanalyze. Will need to look further into how to make that work before making a release of typeshed_client. Probably pyanalyze needs to get better at distinguishing between classes and instances while handling protocols.
(It also breaks pyanalyze/test_typeshed.py::TestBundledStubs::test_cdata but that's a harmless change.)
Notes to self: The addition of methods like
int.__hash__
breakspyanalyze/test_type_object.py::TestHashable::test_type
in pyanalyze. Will need to look further into how to make that work before making a release of typeshed_client. Probably pyanalyze needs to get better at distinguishing between classes and instances while handling protocols.(It also breaks
pyanalyze/test_typeshed.py::TestBundledStubs::test_cdata
but that's a harmless change.)