Re:Python's new t-strings
by nhumrich on Monday April 21, 2025 @08:38AM
(#43751303)
You should check out PEP 787
[ Parent
| on HN ]
Hmm, PEP-787 has some interesting discussions around it. I'll have to sort my thoughts on these aspects a bit.
Re:Python's new t-strings
by pauleveritt on Monday April 21, 2025 @02:46PM
(#43755129)
We really should just point most of these comments at that PEP. Thanks for getting it out so fast.
Oh! I missed this one because I've been looking specifically at the Packaging forum rather than the PEPs forum. This looks like a brilliant use case. (I'm aiming for wide compatibility - back to 3.6 - with my current projects, but I look forward to trying this out if and when it's accepted and implemented.)
Now if only the overall `subprocess` interface weren't so complex....
PEP 787 – Safer subprocess usage using t-strings https://peps.python.org/pep-0787/