Re:Python's new t-strings
by yk on Monday April 21, 2025 @06:40AM
(#43750347)
That's entirely implementation dependent. For existing libraries I would expect something like
[ Parent
| on HN ]
it would likely be safer to have a safe (accepting Templates) and an unsafe (accepting strings) interface.
Now whether maintainers introduce `getSafe` and keep the old behavior intact, or make a breaking change to turn `get` into `getUnsafe`, we will see
Re:Python's new t-strings
by darthwalsh on Monday April 21, 2025 @12:42PM
(#43753887)
And they could add deprecation warnings gradually