JelleZijlstra / typeshed_client

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

Complaint about types.CodeType #10

Closed hauntsaninja closed 3 years ago

hauntsaninja commented 4 years ago

I see the following complaint when I run pyanalyze Cannot overload a class or an imported name: NameInfo(name='CodeType', is_exported=False, ast=ImportedName(module_name=('types',), name='CodeType'), child_nodes=None)

JelleZijlstra commented 3 years ago

This is fixed now (python/typeshed#5827). I also made a change to typeshed-client to make the error a bit less mysterious.