JelleZijlstra / typeshed_client

Retrieve information from typeshed and other typing stubs
MIT License
20 stars 2 forks source link

Update bundled typeshed #86

Closed JelleZijlstra closed 11 months ago

JelleZijlstra commented 1 year ago

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.)