René's URL Explorer Experiment


Title: PEP 498 – Literal String Interpolation | peps.python.org

Open Graph Title: PEP 498 – Literal String Interpolation | peps.python.org

Description: Python supports multiple ways to format text strings. These include %-formatting 1, str.format() 2, and string.Template 3. Each of these methods have their advantages, but in addition have disadvantages that make them cumbersome to use in practice. This...

Open Graph Description: Python supports multiple ways to format text strings. These include %-formatting 1, str.format() 2, and string.Template 3. Each of these methods have their advantages, but in addition have disadvantages that make them cumbersome to use in practice. This...

Opengraph URL: https://peps.python.org/pep-0498/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/
Python-Dev messagehttps://mail.python.org/pipermail/python-dev/2015-September/141526.html
Abstracthttps://peps.python.org/498#abstract
Rationalehttps://peps.python.org/498#rationale
No use of globals() or locals()https://peps.python.org/498#no-use-of-globals-or-locals
Specificationhttps://peps.python.org/498#specification
Escape sequenceshttps://peps.python.org/498#escape-sequences
Code equivalencehttps://peps.python.org/498#code-equivalence
Expression evaluationhttps://peps.python.org/498#expression-evaluation
Format specifiershttps://peps.python.org/498#format-specifiers
Concatenating stringshttps://peps.python.org/498#concatenating-strings
Error handlinghttps://peps.python.org/498#error-handling
Leading and trailing whitespace in expressions is ignoredhttps://peps.python.org/498#leading-and-trailing-whitespace-in-expressions-is-ignored
Evaluation order of expressionshttps://peps.python.org/498#evaluation-order-of-expressions
Discussionhttps://peps.python.org/498#discussion
python-ideas discussionhttps://peps.python.org/498#python-ideas-discussion
How to denote f-stringshttps://peps.python.org/498#how-to-denote-f-strings
How to specify the location of expressions in f-stringshttps://peps.python.org/498#how-to-specify-the-location-of-expressions-in-f-strings
Supporting full Python expressionshttps://peps.python.org/498#supporting-full-python-expressions
Similar support in other languageshttps://peps.python.org/498#similar-support-in-other-languages
Differences between f-string and str.format expressionshttps://peps.python.org/498#differences-between-f-string-and-str-format-expressions
Triple-quoted f-stringshttps://peps.python.org/498#triple-quoted-f-strings
Raw f-stringshttps://peps.python.org/498#raw-f-strings
No binary f-stringshttps://peps.python.org/498#no-binary-f-strings
!s, !r, and !a are redundanthttps://peps.python.org/498#s-r-and-a-are-redundant
Lambdas inside expressionshttps://peps.python.org/498#lambdas-inside-expressions
Can’t combine with ‘u’https://peps.python.org/498#can-t-combine-with-u
Examples from Python’s source codehttps://peps.python.org/498#examples-from-python-s-source-code
Referenceshttps://peps.python.org/498#references
Copyrighthttps://peps.python.org/498#copyright
Abstracthttps://peps.python.org/498#abstract
[1]https://peps.python.org/498#id11
[2]https://peps.python.org/498#id12
[3]https://peps.python.org/498#id13
PEP 215https://peps.python.org/pep-0215/
PEP 215https://peps.python.org/pep-0215/
PEP 3101https://peps.python.org/pep-3101/
Rationalehttps://peps.python.org/498#rationale
PEP 3101https://peps.python.org/pep-3101/
No use of globals() or locals()https://peps.python.org/498#no-use-of-globals-or-locals
[4]https://peps.python.org/498#id14
[5]https://peps.python.org/498#id15
Specificationhttps://peps.python.org/498#specification
[6]https://peps.python.org/498#id16
Escape sequenceshttps://peps.python.org/498#escape-sequences
Code equivalencehttps://peps.python.org/498#code-equivalence
Expression evaluationhttps://peps.python.org/498#expression-evaluation
[7]https://peps.python.org/498#id17
Format specifiershttps://peps.python.org/498#format-specifiers
Concatenating stringshttps://peps.python.org/498#concatenating-strings
Error handlinghttps://peps.python.org/498#error-handling
Leading and trailing whitespace in expressions is ignoredhttps://peps.python.org/498#leading-and-trailing-whitespace-in-expressions-is-ignored
Evaluation order of expressionshttps://peps.python.org/498#evaluation-order-of-expressions
Discussionhttps://peps.python.org/498#discussion
python-ideas discussionhttps://peps.python.org/498#python-ideas-discussion
[8]https://peps.python.org/498#id18
How to denote f-stringshttps://peps.python.org/498#how-to-denote-f-strings
How to specify the location of expressions in f-stringshttps://peps.python.org/498#how-to-specify-the-location-of-expressions-in-f-strings
Supporting full Python expressionshttps://peps.python.org/498#supporting-full-python-expressions
Similar support in other languageshttps://peps.python.org/498#similar-support-in-other-languages
[9]https://peps.python.org/498#id19
Differences between f-string and str.format expressionshttps://peps.python.org/498#differences-between-f-string-and-str-format-expressions
[10]https://peps.python.org/498#id20
Triple-quoted f-stringshttps://peps.python.org/498#triple-quoted-f-strings
Raw f-stringshttps://peps.python.org/498#raw-f-strings
No binary f-stringshttps://peps.python.org/498#no-binary-f-strings
PEP 461https://peps.python.org/pep-0461/#proposed-variations
!s, !r, and !a are redundanthttps://peps.python.org/498#s-r-and-a-are-redundant
Lambdas inside expressionshttps://peps.python.org/498#lambdas-inside-expressions
Can’t combine with ‘u’https://peps.python.org/498#can-t-combine-with-u
PEP 414https://peps.python.org/pep-0414/
Examples from Python’s source codehttps://peps.python.org/498#examples-from-python-s-source-code
Referenceshttps://peps.python.org/498#references
1https://peps.python.org/498#id1
https://docs.python.org/3/library/stdtypes.html#printf-style-string-formattinghttps://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting
2https://peps.python.org/498#id2
https://docs.python.org/3/library/string.html#formatstringshttps://docs.python.org/3/library/string.html#formatstrings
3https://peps.python.org/498#id3
https://docs.python.org/3/library/string.html#template-stringshttps://docs.python.org/3/library/string.html#template-strings
4https://peps.python.org/498#id4
https://mail.python.org/pipermail/python-ideas/2015-July/034671.htmlhttps://mail.python.org/pipermail/python-ideas/2015-July/034671.html
5https://peps.python.org/498#id5
https://mail.python.org/pipermail/python-ideas/2015-July/034701.htmlhttps://mail.python.org/pipermail/python-ideas/2015-July/034701.html
6https://peps.python.org/498#id6
https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literalshttps://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals
7https://peps.python.org/498#id7
https://docs.python.org/3/library/ast.html#ast.parsehttps://docs.python.org/3/library/ast.html#ast.parse
8https://peps.python.org/498#id8
https://mail.python.org/pipermail/python-ideas/2015-July/034657.htmlhttps://mail.python.org/pipermail/python-ideas/2015-July/034657.html
9https://peps.python.org/498#id9
https://en.wikipedia.org/wiki/String_interpolationhttps://en.wikipedia.org/wiki/String_interpolation
10https://peps.python.org/498#id10
https://mail.python.org/pipermail/python-ideas/2015-July/034726.htmlhttps://mail.python.org/pipermail/python-ideas/2015-July/034726.html
Copyrighthttps://peps.python.org/498#copyright
Abstracthttps://peps.python.org/498#abstract
Rationalehttps://peps.python.org/498#rationale
No use of globals() or locals()https://peps.python.org/498#no-use-of-globals-or-locals
Specificationhttps://peps.python.org/498#specification
Escape sequenceshttps://peps.python.org/498#escape-sequences
Code equivalencehttps://peps.python.org/498#code-equivalence
Expression evaluationhttps://peps.python.org/498#expression-evaluation
Format specifiershttps://peps.python.org/498#format-specifiers
Concatenating stringshttps://peps.python.org/498#concatenating-strings
Error handlinghttps://peps.python.org/498#error-handling
Leading and trailing whitespace in expressions is ignoredhttps://peps.python.org/498#leading-and-trailing-whitespace-in-expressions-is-ignored
Evaluation order of expressionshttps://peps.python.org/498#evaluation-order-of-expressions
Discussionhttps://peps.python.org/498#discussion
python-ideas discussionhttps://peps.python.org/498#python-ideas-discussion
How to denote f-stringshttps://peps.python.org/498#how-to-denote-f-strings
How to specify the location of expressions in f-stringshttps://peps.python.org/498#how-to-specify-the-location-of-expressions-in-f-strings
Supporting full Python expressionshttps://peps.python.org/498#supporting-full-python-expressions
Similar support in other languageshttps://peps.python.org/498#similar-support-in-other-languages
Differences between f-string and str.format expressionshttps://peps.python.org/498#differences-between-f-string-and-str-format-expressions
Triple-quoted f-stringshttps://peps.python.org/498#triple-quoted-f-strings
Raw f-stringshttps://peps.python.org/498#raw-f-strings
No binary f-stringshttps://peps.python.org/498#no-binary-f-strings
!s, !r, and !a are redundanthttps://peps.python.org/498#s-r-and-a-are-redundant
Lambdas inside expressionshttps://peps.python.org/498#lambdas-inside-expressions
Can’t combine with ‘u’https://peps.python.org/498#can-t-combine-with-u
Examples from Python’s source codehttps://peps.python.org/498#examples-from-python-s-source-code
Referenceshttps://peps.python.org/498#references
Copyrighthttps://peps.python.org/498#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0498.rst?plain=1
https://github.com/python/peps/blob/main/peps/pep-0498.rsthttps://github.com/python/peps/blob/main/peps/pep-0498.rst
2025-02-01 08:59:27 UTChttps://github.com/python/peps/commits/main/peps/pep-0498.rst

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.