From 4d04866f48f72b9ea0d213dc1533729d3b68a503 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Tue, 26 Oct 2021 12:24:37 -0700 Subject: [PATCH] add python bug https://bugs.python.org/issue45617 info --- jc/parsers/csv_s.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jc/parsers/csv_s.py b/jc/parsers/csv_s.py index cdf9a09a..f4a661b7 100644 --- a/jc/parsers/csv_s.py +++ b/jc/parsers/csv_s.py @@ -106,6 +106,7 @@ def parse(data, raw=False, quiet=False, ignore_exceptions=False): temp_list.append(line) # check for Python bug that does not split on `\r` newlines from sys.stdin correctly + # https://bugs.python.org/issue45617 if len(temp_list) == 1: raise ParseError('Unable to detect line endings. Please try the non-streaming CSV parser instead.')