]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] 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:44:16 +0000 (11:44 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Apr 2026 09:44:16 +0000 (09:44 +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 eca25b6050cdb985261ab4796337eaa2bcea9ba2..bc9328a2b05875c1ea1b1bfc712873eb1dad7e63 100644 (file)
@@ -33,6 +33,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__``.