Re:GIL Become Optional in Python 3.13
by rich_sasha on Monday August 12, 2024 @09:22AM
(#41224086)
Yes, if Python was made from scratch, then perhaps function is better (I don't really mind).
But breaking one of the most commonly used statements for what is essentially aesthetics? No thanks. Introduce a function that does the same if you like.
That's precisely my point, this syntax change (and many others) was entirely unnecessary, put people off upgrading, then got them told off for being dinosauric luddites.
Frankly, it's not even that consistent. Is `del dict[key]` necessary when you can call `dict.pop`?
Either way, these would be fine discussions to have, but not when you consider the people upgrading thei codebases.
Re:GIL Become Optional in Python 3.13
by robertlagrant on Monday August 12, 2024 @09:52AM
(#41224361)
> Is `del dict[key]` necessary when you can call `dict.pop`?
Reason for Python 4 detected!
From the PEP[0]:
[0] https://peps.python.org/pep-3105