Skip to content

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

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:csv-escapechar-doc
Open

gh-89024: Document the 3.10 change in escaping the csv escapechar#155067
serhiy-storchaka wants to merge 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.
@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir 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 skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant