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 ngwood111
Recipients ezio.melotti, hongweipeng, mrabarnett, ngwood111, ram, serhiy.storchaka, xtreak
Date 2019-02-23.05:40:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550900436.15.0.1591104793.issue34315@roundup.psfhosted.org>
In-reply-to
Content
I was able to recreate the 'bad' output on Linux using 'bad' input.

The issue is caused when you misspell WHERE, regex is looking for the exact word "WHERE", any lowercase (where), multicase (WHeRe), or misspelling (WERE) is going to cause it to return None because regex didn't find a matching substring.

I also on a whim tested out a bunch of encodings before realizing it didn't run on bytes objects anyways, so really the only way to get this output is to misspell the input. I think this problem should probably be closed as it's not a bug with the python core.
History
Date User Action Args
2019-02-23 05:40:36ngwood111setrecipients: + ngwood111, ezio.melotti, mrabarnett, serhiy.storchaka, hongweipeng, xtreak, ram
2019-02-23 05:40:36ngwood111setmessageid: <1550900436.15.0.1591104793.issue34315@roundup.psfhosted.org>
2019-02-23 05:40:36ngwood111linkissue34315 messages
2019-02-23 05:40:36ngwood111create