Skip to content

gh-105116: Document that an escaped csv quotechar does not cause quoting - #155073

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:csv-quote-minimal-escaping
Open

gh-105116: Document that an escaped csv quotechar does not cause quoting#155073
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:csv-quote-minimal-escaping

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Under QUOTE_MINIMAL, a field containing the quotechar is not quoted if doublequote is false and escapechar is set -- the quotechar is escaped instead. This is already implied by the second bullet of Dialect.escapechar; this states it where the quoting rule itself is described.

…e quoting

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Aug 2, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Aug 2, 2026
@serhiy-storchaka serhiy-storchaka added 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
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33874103 | 📁 Comparing 0c6419f against main (96ebb20)

  🔍 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