Open
Description
Feature or enhancement
Currently there are two places in our typing-related code that raise a DeprecationWarning
when type_params
parameter is not provided:
Lines 432 to 442 in 07183eb
Lines 213 to 221 in 07183eb
The error message of this function says that the behavior will change in 3.15 to disallow this:
Lines 410 to 420 in 07183eb
So, we have several options:
- Adding
TypeError('type_params parameter is not provided')
whentype_params is _sentinel
- Changing
type_params
to not contain a default value - Do nothing?
CC @JelleZijlstra @AlexWaygood
I would like to work on this after we decide the fate of these functions :)