Fixes #10639: reindent.py should not convert newlines
Backport of changeset 070dc6e359fb, reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
diff --git a/Misc/NEWS b/Misc/NEWS
index 9a99595..e3c404f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -143,6 +143,12 @@
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).
+Tools/Demos
+-----------
+
+- Issue #10639: reindent.py no longer converts newlines and will raise
+ an error if attempting to convert a file with mixed newlines.
+
Tests
-----