News for hackers. Stuff that matters.
Re:Free-threaded CPython is ready to experiment with by wk_end on Friday July 12, 2024 @05:18PM (#40949536)
The interpreter does not and probably never will check types. The annotations are treated as effectively meaningless at runtime. External tools like mypy can be run over your code and check them.
Re:Free-threaded CPython is ready to experiment with by cwalv on Friday July 12, 2024 @10:46PM (#40951375)
It checks types .. it doesn't check type annotations.

Just try:

  $ Python
  >>> 1 + '3'