Closed hauntsaninja closed 3 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)
Cannot overload a class or an imported name: NameInfo(name='CodeType', is_exported=False, ast=ImportedName(module_name=('types',), name='CodeType'), child_nodes=None)
This is fixed now (python/typeshed#5827). I also made a change to typeshed-client to make the error a bit less mysterious.
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)