/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.21s
|
source
Show context
enescakir
◴[
21 Apr 25 07:32 UTC
]
No.
43749266
[source]
▶
>>43748512 (OP)
#
Not sure about introducing yet another string prefix. Between f-strings, raw strings, and i18n stuff, it’s already getting crowded. Curious how readable this will be in large codebases.
replies(3):
>>43749334
#
>>43749489
#
>>43749515
#
mulmboy
◴[
21 Apr 25 08:15 UTC
]
No.
43749489
[source]
▶
>>43749266
#
Are there string prefixes for i18n stuff?
replies(1):
>>43749599
#
1.
Biganon
◴[
21 Apr 25 08:35 UTC
]
No.
43749599
[source]
▶
>>43749489
#
They're probably talking about the convention of using _ as an alias for `translate`
ID:
GO
↑