]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
_parsebody(): Use get_content_type() instead of the deprecated
authorBarry Warsaw <barry@python.org>
Mon, 7 Oct 2002 17:27:35 +0000 (17:27 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 7 Oct 2002 17:27:35 +0000 (17:27 +0000)
commit487fe6ac398b38b604d56285f2afb71e3ddbeb91
treea384279d447a796c3dce12433b9a37c5affa1170
parent45bb87bc135a36d9359eb0106f8e950cee5574d9
_parsebody(): Use get_content_type() instead of the deprecated
get_type().  Also, one of the regular expressions is constant so might
as well make it a module global.  And, when splitting up digests,
handle lineseps that are longer than 1 character in length
(e.g. \r\n).
Lib/email/Parser.py