Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wk_end
on July 12, 2024
|
parent
|
context
|
favorite
| on:
Free-threaded CPython is ready to experiment with
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.
cwalv
on July 13, 2024
[–]
It checks types .. it doesn't check type annotations.
Just try:
$ Python >>> 1 + '3'
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: