]> granicus.if.org Git - python/commit
_split_header(): If we have a header which is a byte string containing
authorBarry Warsaw <barry@python.org>
Mon, 14 Oct 2002 15:09:30 +0000 (15:09 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 14 Oct 2002 15:09:30 +0000 (15:09 +0000)
commit6c2bc4635539765dc267094b95e0ef8f0ce9053a
treee8a7c50a844dfaab2f70e1af276f887633e6c68d
parent7cd724049f3d6c741dc3d7d3b652ba9a83481e5d
_split_header(): If we have a header which is a byte string containing
8-bit data, we cannot split it safely, so return the original string
unchanged.

_is8bitstring(): Helper function which returns True when we have a
byte string that contains non-ascii characters (i.e. mysterious 8-bit
data).
Lib/email/Generator.py