gh-89024: Document the 3.10 change in escaping the csv escapechar (GH-155067)
serhiy-storchaka <[email protected]> Thu, 13 Aug 2026 06:05:55 -0400 (EDT)
| Newsgroups | gmane.comp.python.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/python/cpython/commit/a697faf45077f7fb24edf4f2f75b8aa09d873dcd commit: a697faf45077f7fb24edf4f2f75b8aa09d873dcd branch: main author: Serhiy Storchaka <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2026-08-13T13:05:33+03:00 summary: gh-89024: Document the 3.10 change in escaping the csv escapechar (GH-155067) Add a versionchanged note for the escapechar itself being escaped. files: M Doc/library/csv.rst diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 16ff9746f8f05a..710a5b11ab6405 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -492,6 +492,10 @@ Dialects support the following attributes: On reading, the *escapechar* removes any special meaning from the following character. It defaults to :const:`None`, which disables escaping. + .. versionchanged:: 3.10 + Previously the *escapechar* itself was not escaped, + which lost it on reading. + .. versionchanged:: 3.11 An empty *escapechar* is not allowed. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]