[issue30157] csn.Sniffer.sniff() regex error

2017-04-24 Thread Jake Davis
New submission from Jake Davis: Line 220 of Lib/csv.py has an extra `>` in the first group: r'(?P>[^\w\n"\']) -- components: Library (Lib) messages: 292249 nosy: jcdavis1983 priority: normal pull_requests: 1389 severity: normal status: open title: csn.Sniffe

[issue30157] csv.Sniffer.sniff() regex error

2017-04-25 Thread Jake Davis
Jake Davis added the comment: Will do! I will try to get a regression proof test into test_csv.py in the next 24 hours. Essentially I will make sure that the sniffer returns a positive match for each of the patterns that the regex is intended to hit

[issue30157] csv.Sniffer.sniff() regex error

2017-04-27 Thread Jake Davis
Jake Davis added the comment: I've added some unittests for Sniffer._guess_quote_and_delimiter(); they should prevent regression. -- ___ Python tracker <http://bugs.python.org/is