An immature idea. Python now has a type prompt, so you can provide a parameter for the Python interpreter to control whether to open the check type operation.
For example, in the code, I explicitly use the type prompt, such as:
def foo(a: str, b: str) -> str:
c = None # type:str
We can run the code with a parameter, such as
python -T test1.py
To prevent the Python interpreter from detecting the variable types in it, so as to improve the running speed.
Thank you for reading.
Type hints are not checked by the interpreter, so we don't need a parameter to turn static type checks off. They are already off.
Type hints are only checked by optional third-party checkers, linters, IDEs, etc.
There is, as far as I know, no plans to build static type-checking into the interpreter.