[issue15927] csv.reader() does not support escaped newline when quoting=csv.QUOTE_NONE

2013-03-19 Thread Michael Johnson
Michael Johnson added the comment: On input, the reader sees a line like ['one\\\n','element'] from the file iterator and successfully escapes the newline character, but still interprets the end of the string as the end of a record. I've attached a patch that m

[issue9161] add_option in optparse no longer accepts unicode string

2012-08-13 Thread Michael Johnson
Michael Johnson added the comment: Huh, let me try that again! I'm not sure how the attachment got dropped. -- keywords: +patch Added file: http://bugs.python.org/file26793/issue9161_test.diff ___ Python tracker <http://bugs.python.org/i

[issue9161] add_option in optparse no longer accepts unicode string

2012-07-27 Thread Michael Johnson
Michael Johnson added the comment: Created a unit test for the patch that was committed in r82581. I can easily add the test to argparse too, if needed; I didn't see any tests related to Unicode in there. -- nosy: +mjjohnson ___ Python tr