[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2021-03-25 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ _

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2015-06-18 Thread Brandon Milam
Brandon Milam added the comment: This is my first attempt at working with the test suite but I believe this is what you were asking for. Due to this being my first attempt at writing tests I have included it as a separate patch file. Any further changes just let me know. -- Added file:

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2015-06-05 Thread Berker Peksag
Berker Peksag added the comment: The patch looks good to me, thanks! Could you also convert your test script to a test case and add it in Lib/test/test_csv.py? -- nosy: +berker.peksag stage: needs patch -> patch review versions: +Python 3.6 ___ Pytho

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2015-05-29 Thread Brandon Milam
Changes by Brandon Milam : -- keywords: +patch Added file: http://bugs.python.org/file39560/csv_skipinitialspace_docfix.patch ___ Python tracker ___ _

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2015-05-29 Thread Brandon Milam
Changes by Brandon Milam : Added file: http://bugs.python.org/file39559/csv_skipinitialspace_testing.csv ___ Python tracker ___ ___ Python-bug

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2015-05-29 Thread Brandon Milam
Brandon Milam added the comment: This code shows what Daniel Andersson was talking about. I changed the "whitespace" references in the documentation that Daniel mentioned to say spaces. Also I changed "ignore space at the start of the field" to "ignore spaces at the start of the field" due to

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2014-06-22 Thread Andy Almonte
Changes by Andy Almonte : -- nosy: +Andy.Almonte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2014-04-20 Thread Daniel Andersson
Daniel Andersson added the comment: No, multiple spaces are ignored as advertised (according to actual tests; not just reading the code), but only spaces (U+0020) and not e.g. tabs (U+0009), which are also included in the term "whitespace", along with several other characters. In light of you

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do I understand correctly that only one space is ignored? -- nosy: +terry.reedy stage: -> needs patch title: skipinitialspace in the csv module only skips spaces, not "whitespace" in general -> csv.skipinitialspace only skips spaces, not "whitespace" i