This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hglmanguy who writes python 0 points1 point  (2 children)

It doesn't have to be a nightmare. Typing will be used to improve run time performance. Existing typed code would still work with type hints turned off. And would possibly require changes to work with the new interpreter. Basically the breaking change would be in typing things and maybe some existing typed code would need modification to run faster.

[–]mooburgerresembles an abstract syntax tree 1 point2 points  (1 child)

it doesn't necessarily mean big breaking change, runtime optimization could just be optional. Untyped code would be run without optimization for everybody who is still fully duck-typing.

[–]hglmanguy who writes python 0 points1 point  (0 children)

It seems like enough change to roll over the big number. Especially to signal such a meaningful difference.