News for hackers. Stuff that matters.
Re:GIL Become Optional in Python 3.13 by RandomThoughts3 on Monday August 12, 2024 @03:58AM (#41222169)
I think it’s a bit disingenuous to put it that way. The comment you are replying to is not asking for a widely different programming style. They want typing which is perfectly understandable.

It’s common that as project grows larger and more unwieldy, people ask for more warranty and help from their tooling. I think Python position on this strikes a good balance - provide the infrastructure for adding type hint but delegates type checking to a third party.

Re:GIL Become Optional in Python 3.13 by surfingdino on Monday August 12, 2024 @04:34AM (#41222382)
Python uses dynamic typing by design. Removing it would remove one of it strengths (and weaknesses as some insist). It is one of the things that made Python so successful. We have learned over time that adding mypy to the pre-commit hooks is a good thing, but I think that's where we should stop. Give devs an option, but don't force it upon them.
Re:GIL Become Optional in Python 3.13 by robertlagrant on Monday August 12, 2024 @06:50AM (#41223079)
I think you could also argue for some sort of setting that adds additional optimisations based on type hints, but it would have to default to off.