/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Python’s new t-strings
(davepeck.org)
620 points
tambourine_man
| 1 comments |
21 Apr 25 04:31 UTC
|
HN request time: 0.32s
|
source
Show context
toxik
◴[
21 Apr 25 09:31 UTC
]
No.
43749939
[source]
▶
>>43748512 (OP)
#
So should f strings now go away? They are just a special case of t strings.
Also, don’t get me started on g strings.
replies(2):
>>43750119
#
>>43751209
#
1.
nhumrich
◴[
21 Apr 25 12:29 UTC
]
No.
43751209
[source]
▶
>>43749939
#
No. F-strings should still be the default. T-strings aren't usable directly, and don't have a `str` like API, so they aren't even compatible, intentionally.
ID:
GO
↑