mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
add python bug https://bugs.python.org/issue45617 info
This commit is contained in:
@ -106,6 +106,7 @@ def parse(data, raw=False, quiet=False, ignore_exceptions=False):
|
|||||||
temp_list.append(line)
|
temp_list.append(line)
|
||||||
|
|
||||||
# check for Python bug that does not split on `\r` newlines from sys.stdin correctly
|
# 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:
|
if len(temp_list) == 1:
|
||||||
raise ParseError('Unable to detect line endings. Please try the non-streaming CSV parser instead.')
|
raise ParseError('Unable to detect line endings. Please try the non-streaming CSV parser instead.')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user