3 ms·
> The problems for which I'm less optimistic tend to revolve around shoehorning typing into existing Python syntax--e.g., to get a callback that takes kwargs yo
by codethief 5y ago
> The problems for which I'm less optimistic tend to revolve around shoehorning typing into existing Python syntax--e.g., to get a callback that takes kwargs you have to define a protocol with a `__call__` method that takes kwargs because you can't express it with `typing.Callable`
You might be interested in the discussion over here then -> https://github.com/python/typing/issues/769#issuecomment-741991979 https://github.com/python/typing/issues/769#issuecomment-741...