Closed
Description
I got the following traceback from stubgen when trying to generate stubs for Pandas. Apologies for any typos - I work in an environment which doesn't allow me to send stuff out. This traceback went in through my eyeballs, and out through my fingers with some eliding performed by my cortex...)
Traceback (most recent call last):
File ".../bin/stubgen", line 20, in <module>
...
File ".../mypy/stubgen.py":, line 98, in generate_stub_for_module
class_sigs=class_sigs)
File ".../mypy/stubgenc.py", line 35, in generate_stub_for_c_module
generate_c_type_stub(module, name, ...)
File ".../mypy/stubgenc.py", line 150, in generate_c_type_stub
if all_bases[-1] is object:
IndexError: list index out of range
Running with the --ignore-errors flag, and searching output for "Stub generation", it appears it was trying to generate stubs for pandas.hashtable, which is an extension module. I'll see what I can do to figure it out, but would appreciate some guidance on how to proceed. This is in a Conda Python 3 environment with Pandas 0.19.0 installed.
Metadata
Metadata
Assignees
Labels
No labels