News for hackers. Stuff that matters.
Re:Python's new t-strings by nezirus on Monday April 21, 2025 @03:39AM (#43749294)
Maybe this could be useful to libraries like psycopg3 to use something more simple/natural instead of this:

https://www.psycopg.org/psycopg3/docs/api/sql.html

(while I also agree it gets crowded with yet another string prefix)

Re:Python's new t-strings by dtech on Monday April 21, 2025 @03:52AM (#43749372)
That's the exact use case. Basically these are syntactic sugar for a very similar function signature.