Skip to content

gh-89024: Document the 3.10 change in escaping the csv escapechar - #155067

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:csv-escapechar-doc
Aug 13, 2026
Merged

gh-89024: Document the 3.10 change in escaping the csv escapechar#155067
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:csv-escapechar-doc

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 2, 2026

Copy link
Copy Markdown
Member

Since 3.10 (bpo-12178) the writer escapes the escapechar occurring in a field instead of quoting the field. The current rule is already documented as the third bullet of Dialect.escapechar; this only dates it and says what it replaced.

Add a versionchanged note for the escapechar itself being escaped.
@serhiy-storchaka serhiy-storchaka added docs Documentation in the Doc dir skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 2, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Aug 2, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33872934 | 📁 Comparing 0deaf23 against main (7b4165b)

  🔍 Preview build  

1 file changed
± library/csv.html

@serhiy-storchaka
serhiy-storchaka merged commit a697faf into python:main Aug 13, 2026
41 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 13, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@serhiy-storchaka
serhiy-storchaka deleted the csv-escapechar-doc branch August 13, 2026 10:05
@bedevere-app

bedevere-app Bot commented Aug 13, 2026

Copy link
Copy Markdown

GH-155685 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 13, 2026
@bedevere-app

bedevere-app Bot commented Aug 13, 2026

Copy link
Copy Markdown

GH-155686 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Aug 13, 2026
@bedevere-app

bedevere-app Bot commented Aug 13, 2026

Copy link
Copy Markdown

GH-155687 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Aug 13, 2026
serhiy-storchaka added a commit that referenced this pull request Aug 13, 2026
…har (GH-155067) (GH-155687)

Add a versionchanged note for the escapechar itself being escaped.
(cherry picked from commit a697faf)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Aug 13, 2026
…har (GH-155067) (GH-155686)

Add a versionchanged note for the escapechar itself being escaped.
(cherry picked from commit a697faf)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
mbeijen pushed a commit to mbeijen/cpython that referenced this pull request Aug 14, 2026
…ar (pythonGH-155067)

Add a versionchanged note for the escapechar itself being escaped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant