[issue6465] email.feedparser regular expression bug (NLCRE_crack)

2009-07-12 Thread jkg
jkg added the comment: Combined patch as requested by pitrou. (Sorry. This is my first submission.) -- Added file: http://bugs.python.org/file14486/nlcre_full.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6465] email.feedparser regular expression bug (NLCRE_crack)

2009-07-11 Thread jkg
jkg added the comment: Patch. -- keywords: +patch Added file: http://bugs.python.org/file14485/nlcre.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6465] email.feedparser regular expression bug (NLCRE_crack)

2009-07-11 Thread jkg
New submission from jkg : If the parser is fed a chunk which ends with '\r' and the next chunk begins with '\n', it incorrectly parses this into a line ending with '\r' and an empty line ending with '\n' instead of a single line ending with