]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Prevent GitHub's web conflict editor from converting LF to CRLF (GH-148739...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 19 Apr 2026 09:46:41 +0000 (11:46 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Apr 2026 09:46:41 +0000 (09:46 +0000)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.gitattributes
Misc/NEWS.d/next/Library/2026-02-22-00-00-00.gh-issue-145105.csv-reader-reentrant.rst

index aa5c7865a2ff85aa7fba885425e108df5de79228..70aaadf5e3b5207cf1f9f8d37dc54eae3b58ca79 100644 (file)
@@ -34,6 +34,9 @@ Lib/test/xmltestdata/*                     noeol
 Lib/venv/scripts/common/activate text eol=lf
 Lib/venv/scripts/posix/* text eol=lf
 
+# Prevent GitHub's web conflict editor from converting LF to CRLF
+*.rst text eol=lf
+
 # CRLF files
 [attr]dos text eol=crlf
 
index bc61cc43a5aa33995356fb08ab2205ba9e309662..1c2e06c86f658837d08f7a633ce708bbe6abb8b6 100644 (file)
@@ -1,2 +1,2 @@
-Fix crash in :mod:`csv` reader when iterating with a re-entrant iterator\r
-that calls :func:`next` on the same reader from within ``__next__``.\r
+Fix crash in :mod:`csv` reader when iterating with a re-entrant iterator
+that calls :func:`next` on the same reader from within ``__next__``.