[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem, happy it helped :) -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-09 Thread belegnar
belegnar added the comment: Yes, https://docs.python.org/3/library/csv.html#csv.Dialect.skipinitialspace helps Sorry -- stage: -> resolved status: open -> closed ___ Python tracker

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a description of the expected behavior? Does skipinitialspace help with the second input? https://docs.python.org/3/library/csv.html#csv.Dialect.skipinitialspace >>> import csv >>> list(csv.reader(['param1,"param21,param22",param

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-08 Thread belegnar
New submission from belegnar : ``` >>> list(csv.reader(['param1,"param21,param22",param3'])) [['param1', 'param21,param22', 'param3']] >>> list(csv.reader(['param1, "param21,param22", param3'])) [['param1', ' "param21', 'param22"', ' param3']] ``` version 3.7.4 on linux -- components: