Hacker News new | past | comments | ask | show | jobs | submit login

> One reason was so the type system could be backported. You can install the typing module all the way back to Python 2.7, where list[int] will never work but nothing prohibits typing.List[int]. The system has been rolled out slowly in general, without hasty changes to the core language.

If only they'd had that idea a bit earlier in the Python 3 life cycle...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: