[Python-ideas] Re: Type checking for **kwargs based on its use

2022-06-17 Thread Paul Moore
On Fri, 17 Jun 2022 at 14:19, Mauricio Villegas via Python-ideas wrote: > > Look at the following example: > > ``` > def some_function(f1: int): > assert isinstance(f1, int) > > def other_function(f0: str, **kwargs): > assert isinstance(f0, str) > some_function(**kwargs) > >

[Python-ideas] Re: Type checking for **kwargs based on its use

2022-06-17 Thread Alex Waygood
Hi Mauricio, I'd advise starting a discussion on typing-sig ( https://mail.python.org/archives/list/typing-...@python.org/) or creating an issue on the python/typing repo (https://github.com/python/typing). The folks interested in typing generally hang out in those places, so those are usually