This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ebreck
Recipients ebreck
Date 2011-05-25.18:27:10
SpamBayes Score 8.92888e-05
Marked as misclassified No
Message-id <1306348030.98.0.468032848078.issue12178@psf.upfronthosting.co.za>
In-reply-to
Content
Consider the attached two files.  A reader and writer with the same dialect parameters (escapechar \ quotechar " doublequote False) read, then write a CSV cell that looks like "C\\".  It's written "C\".  The problem is, when doublequote=False, the escapechar isn't used to escape itself, and the writer writes something that in the same dialect would be understood differently (\" isn't \ then end of string, it's an escaped quotechar within the string).

Execute python err.py first.csv to see.
History
Date User Action Args
2011-05-25 18:27:11ebrecksetrecipients: + ebreck
2011-05-25 18:27:10ebrecksetmessageid: <1306348030.98.0.468032848078.issue12178@psf.upfronthosting.co.za>
2011-05-25 18:27:10ebrecklinkissue12178 messages
2011-05-25 18:27:10ebreckcreate