News for hackers. Stuff that matters.
Re:PEP 750 – Template Strings (t-strings) have been accepted by oliwarner on Friday April 11, 2025 @03:23AM (#43651319)
It's especially weird how hard people have to fight for string interpolation given it has had implementations since the 1970s.

Even PEP 498 (fstrings) was a battle.

Re:PEP 750 – Template Strings (t-strings) have been accepted by bjourne on Saturday April 12, 2025 @10:05AM (#43664497)
Superficially f-strings reminds you of php and everyone remembers how awful that was. But Python's implementation is leagues better and we also have better tooling (ie smart parsers) for handling fstrings.