On Wed, Dec 2, 2020 at 7:11 PM Paul Sokolovsky email@example.com wrote:
Python can't change its execution plans based on type
CPython can't, other Pythons can. Mypyc is a well-known Python which changes its execution plans based on type annotations.
"Mypyc is (mostly) not yet useful for general Python development."
So, it's not a fully compliant Python implementation. Is there any fully compliant Python that changes its behaviour based on type annotations? If not, "Python == CPython" isn't the problem here.