Re: How to generate a .pyi file for a C Extension using stubgen

2022-07-30 Thread Barry
> On 30 Jul 2022, at 10:30, Marco Sulla wrote: > > On Fri, 29 Jul 2022 at 23:23, Barry wrote: >> >> >> On 29 Jul 2022, at 19:33, Marco Sulla wrote: >>> >>> I tried to follow the instructions here: >>> >>> https://mypy.readthedocs.io/en/stable/stubgen.html >>> >>> but the instruct

Re: How to generate a .pyi file for a C Extension using stubgen

2022-07-30 Thread Marco Sulla
On Fri, 29 Jul 2022 at 23:23, Barry wrote: > > > > > On 29 Jul 2022, at 19:33, Marco Sulla wrote: > > > > I tried to follow the instructions here: > > > > https://mypy.readthedocs.io/en/stable/stubgen.html > > > > but the instructions about creating a stub for a C Extension are a little > > myst

Re: How to generate a .pyi file for a C Extension using stubgen

2022-07-29 Thread Barry
> On 29 Jul 2022, at 19:33, Marco Sulla wrote: > > I tried to follow the instructions here: > > https://mypy.readthedocs.io/en/stable/stubgen.html > > but the instructions about creating a stub for a C Extension are a little > mysterious. I tried to use it on the .so file without luck. It s

How to generate a .pyi file for a C Extension using stubgen

2022-07-29 Thread Marco Sulla
I tried to follow the instructions here: https://mypy.readthedocs.io/en/stable/stubgen.html but the instructions about creating a stub for a C Extension are a little mysterious. I tried to use it on the .so file without luck. -- https://mail.python.org/mailman/listinfo/python-list