New submission from wy7305e <wy73...@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&lt;eword 
w=\"hypocritical\"&gt;&lt;/eword&gt; 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40463>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to