[issue40463] csv.reader split error

wy7305e report at bugs.python.org
Fri May 1 00:05:16 EDT 2020


New submission from wy7305e <wy7305e at hotmail.com>:

#python 3.6 or python 3.8

csv.reader

delimiter=','
quotechar='"'

split this sentence:

"A word of encouragement and explanation, of pity for my childish ignorance, of welcome home, of reassurance to me that it was home, might have made me dutiful to him in my heart henceforth, instead of in my hypocritical<eword w=\"hypocritical\"></eword> outside, and might have made me respect instead of hate him. ","Part 1/CHAPTER 4. I FALL INTO DISGRACE/","David Copperfield"

return 4 columns, but it should return 3 columns.

----------
components: Library (Lib)
files: 01_test_code.py
messages: 367823
nosy: wy7305e
priority: normal
severity: normal
status: open
title: csv.reader split error
type: enhancement
versions: Python 3.6
Added file: https://bugs.python.org/file49104/01_test_code.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40463>
_______________________________________


More information about the Python-bugs-list mailing list