Open tonybaloney opened 1 month ago
Cc @ericsnowcurrently
Have started to work on these, I'd imagine I'll have a PR up in the coming days.
It might be easier to review if we first added some generated stubs using stubgen (if possible, using our wrapper script scripts/create_baseline_stubs.py
), and we then incrementally made improvements to the generated stubs
Does stubgen use dir()? _interpreters is purely a C extension
Stubgen is able to introspect C extensions, yup (see https://github.com/python/mypy/blob/master/mypy/stubgenc.py for the implementation)
Put up a first PR for _interpchannels
: https://github.com/python/typeshed/pull/12199
The
_interpreters
and_interpchannels
packages were added in 3.13b1 but are missing type annotations.Related #11990
I'd be happy to submit these sometime over the next week in a PR