René's URL Explorer Experiment


Title: PEP 701 – Syntactic formalization of f-strings | peps.python.org

Open Graph Title: PEP 701 – Syntactic formalization of f-strings | peps.python.org

Description: This document proposes to lift some of the restrictions originally formulated in PEP 498 and to provide a formalized grammar for f-strings that can be integrated into the parser directly. The proposed syntactic formalization of f-strings will have some ...

Open Graph Description: This document proposes to lift some of the restrictions originally formulated in PEP 498 and to provide a formalized grammar for f-strings that can be integrated into the parser directly. The proposed syntactic formalization of f-strings will have some ...

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

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/
Discourse threadhttps://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046
19-Dec-2022https://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046
14-Mar-2023https://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046/119
Abstracthttps://peps.python.org/701#abstract
Motivationhttps://peps.python.org/701#motivation
Rationalehttps://peps.python.org/701#rationale
Specificationhttps://peps.python.org/701#specification
Handling of f-string debug expressionshttps://peps.python.org/701#handling-of-f-string-debug-expressions
New tokenshttps://peps.python.org/701#new-tokens
Changes to the tokenize modulehttps://peps.python.org/701#changes-to-the-tokenize-module
How to produce these new tokenshttps://peps.python.org/701#how-to-produce-these-new-tokens
Consequences of the new grammarhttps://peps.python.org/701#consequences-of-the-new-grammar
Considerations regarding quote reusehttps://peps.python.org/701#considerations-regarding-quote-reuse
Backwards Compatibilityhttps://peps.python.org/701#backwards-compatibility
How to Teach Thishttps://peps.python.org/701#how-to-teach-this
Reference Implementationhttps://peps.python.org/701#reference-implementation
Rejected Ideashttps://peps.python.org/701#rejected-ideas
Open Issueshttps://peps.python.org/701#open-issues
Copyrighthttps://peps.python.org/701#copyright
f-stringshttps://docs.python.org/3/reference/lexical_analysis.html#f-strings
PEP 1https://peps.python.org/pep-0001/
Abstracthttps://peps.python.org/701#abstract
PEP 498https://peps.python.org/pep-0498/
Motivationhttps://peps.python.org/701#motivation
PEP 498https://peps.python.org/pep-0498/
PEP 536https://peps.python.org/pep-0536/
none of this work was ever implementedhttps://mail.python.org/archives/list/python-dev@python.org/thread/N43O4KNLZW4U7YZC4NVPCETZIVRDUVU2/#NM2A37THVIXXEYR4J5ZPTNLXGGUNFRLZ
PEP 536https://peps.python.org/pep-0536/
PEP 617https://peps.python.org/pep-0617/
official Python grammarhttps://docs.python.org/3/reference/lexical_analysis.html#f-strings
such as PyPyhttps://foss.heptapod.net/pypy/pypy/-/commit/fe120f89bf07e64a41de62b224e4a3d80e0fe0d4/pipelines?ref=branch%2Fpy3.9
discussed on Python-Devhttps://mail.python.org/archives/list/python-dev@python.org/thread/54N3MOYVBDSJQZTU6MTCPLUPIFSDN5IS/#SAYU6SMP4KT7G7AQ6WVQYUDOSZPKHJMS
presented at the Python Language Summit 2022https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit-f.html
Rationalehttps://peps.python.org/701#rationale
PEP 617https://peps.python.org/pep-0617/
PEP 498https://peps.python.org/pep-0498/
PEP 498https://peps.python.org/pep-0498/
considerations regarding quote reusehttps://peps.python.org/701#considerations-regarding-quote-reuse
Specificationhttps://peps.python.org/701#specification
PEP 617https://peps.python.org/pep-0617/
later in this documenthttps://peps.python.org/701#new-tokens
Handling of f-string debug expressionshttps://peps.python.org/701#handling-of-f-string-debug-expressions
bpo-36817https://bugs.python.org/issue?@action=redirect&bpo=36817
the f-string lexical analysis sectionhttps://docs.python.org/3/reference/lexical_analysis.html#f-strings
New tokenshttps://peps.python.org/701#new-tokens
Changes to the tokenize modulehttps://peps.python.org/701#changes-to-the-tokenize-module
tokenizehttps://docs.python.org/3/library/tokenize.html#module-tokenize
How to produce these new tokenshttps://peps.python.org/701#how-to-produce-these-new-tokens
Consequences of the new grammarhttps://peps.python.org/701#consequences-of-the-new-grammar
Considerations regarding quote reusehttps://peps.python.org/701#considerations-regarding-quote-reuse
discussion thread for this PEPhttps://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046
ast.unparsehttps://docs.python.org/3/library/ast.html#ast.unparse
a pollhttps://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046/24
Backwards Compatibilityhttps://peps.python.org/701#backwards-compatibility
tokenizehttps://docs.python.org/3/library/tokenize.html#module-tokenize
changes to the tokenize modulehttps://peps.python.org/701#changes-to-the-tokenize-module
How to Teach Thishttps://peps.python.org/701#how-to-teach-this
Reference Implementationhttps://peps.python.org/701#reference-implementation
implementationhttps://github.com/we-like-parsers/cpython/tree/fstring-grammar
Rejected Ideashttps://peps.python.org/701#rejected-ideas
Open Issueshttps://peps.python.org/701#open-issues
Copyrighthttps://peps.python.org/701#copyright
Abstracthttps://peps.python.org/701#abstract
Motivationhttps://peps.python.org/701#motivation
Rationalehttps://peps.python.org/701#rationale
Specificationhttps://peps.python.org/701#specification
Handling of f-string debug expressionshttps://peps.python.org/701#handling-of-f-string-debug-expressions
New tokenshttps://peps.python.org/701#new-tokens
Changes to the tokenize modulehttps://peps.python.org/701#changes-to-the-tokenize-module
How to produce these new tokenshttps://peps.python.org/701#how-to-produce-these-new-tokens
Consequences of the new grammarhttps://peps.python.org/701#consequences-of-the-new-grammar
Considerations regarding quote reusehttps://peps.python.org/701#considerations-regarding-quote-reuse
Backwards Compatibilityhttps://peps.python.org/701#backwards-compatibility
How to Teach Thishttps://peps.python.org/701#how-to-teach-this
Reference Implementationhttps://peps.python.org/701#reference-implementation
Rejected Ideashttps://peps.python.org/701#rejected-ideas
Open Issueshttps://peps.python.org/701#open-issues
Copyrighthttps://peps.python.org/701#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0701.rst?plain=1
https://github.com/python/peps/blob/main/peps/pep-0701.rsthttps://github.com/python/peps/blob/main/peps/pep-0701.rst
2026-06-15 17:28:27 UTChttps://github.com/python/peps/commits/main/peps/pep-0701.rst

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


URLs of crawlers that visited me.