Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by Wowfunhappy on Friday January 07, 2022 @02:58PM
(#29843935)
I'd say that's a "kind of", since it implies the feature will eventually become mandatory. I was thinking more along the lines of Javascript's 'use strict';
[ Parent
| on HN ]
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by oblvious-earth on Monday January 10, 2022 @01:51PM
(#29879636)
No, there's a general aversion to "use flag" features among the Python core dev due to not wanting to support multiple versions of Python behavior and how they may interact over the long term.
"from __future__" is meant to only ever be used temporarily with a specific Python version slated for it becoming the default behavior.
This discussion about flags has come up recently as part of the debate of accepting PEP 649 or PEP 563 or something else continues. If the Steering Council does not accept PEP 563 it will need to be figured out how to deprecate "from __future__ import annotations" without making it the default and how to implement it's replacement.