New submission from jkg <pyt...@slashbot.com>: 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 '\r\n'.
Test attached. Patch to follow. ---------- components: Library (Lib) files: test_nlcre.py messages: 90433 nosy: barry, jkg, tony_nelson severity: normal status: open title: email.feedparser regular expression bug (NLCRE_crack) type: behavior versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file14484/test_nlcre.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6465> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com