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 mrabarnett
Recipients jcdavis1983, mrabarnett, vstinner
Date 2017-04-25.16:02:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493136163.68.0.0698372385391.issue30157@psf.upfronthosting.co.za>
In-reply-to
Content
There are 4 patterns. They try to determine the delimiter and quote by looking for matches. Each pattern supposedly covers one of 4 cases:

1. Delimiter, quote, value, quote, delimiter.

2. Start of line/text, quote, value, quote, delimiter.

3. Delimiter, quote, value, quote, end of line/text.

4. Start of line/text, quote, value, quote, end of line/text.

On that basis, case 3 looks wrong because the pattern for delimiter is:

    >[^\w\n"\']

instead of the expected:

    [^\w\n"\']

Looks like a bug to me.
History
Date User Action Args
2017-04-25 16:02:43mrabarnettsetrecipients: + mrabarnett, vstinner, jcdavis1983
2017-04-25 16:02:43mrabarnettsetmessageid: <1493136163.68.0.0698372385391.issue30157@psf.upfronthosting.co.za>
2017-04-25 16:02:43mrabarnettlinkissue30157 messages
2017-04-25 16:02:43mrabarnettcreate