News for hackers. Stuff that matters.
Re:Python 3's F-Strings: An Improved String Formatting Syntax by ericvsmith on Wednesday January 20, 2021 @07:13PM (#25853658)
There would be a __future__ import to turn it on, at least for some number of releases. But yeah, I'm not sure it should ever be the default behavior. It makes most sense to me as a per-module opt-in, but then a __future__ import doesn't make sense. And we've resisted having per-module pragmas, so maybe it's dead in the water.
Re:Python 3's F-Strings: An Improved String Formatting Syntax by boothby on Wednesday January 20, 2021 @11:29PM (#25855396)
> And we've resisted having per-module pragmas, so maybe it's dead in the water.

There's a hack for that (no apologies for the self promotion; the project is a just funnin')

https://github.com/boothby/dissert