Replies: 3 comments
-
|
I wanted to use template strings for a long time in Python side of Bokeh. I already use them quite extensively in BokehJS. As an example, I would like to replace this (see select.title = HTML("Selected value: <b>", ValueOf(select, "value"), "</b>")with select.title = HTML(t"Selected value: <b>{ValueOf(select, "value")}</b>")Maybe even |
Beta Was this translation helpful? Give feedback.
-
|
The release pipeline automation has a custom log class with a scrubber to prevent leaking credentials in the output, I can imagine re-implementing that to take advantage of template strings and a custom formatter with the standard logger in the future. There might be opportunities to use them in other logging contexts as well. |
Beta Was this translation helpful? Give feedback.
-
|
Another case could be |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As PEP 750 has been accepted and is expected to be part of Python 3.14. Also an article by one of the authors
It could be nice to discuss how/if it could be used in Bokeh.
Beta Was this translation helpful? Give feedback.
All reactions