summaryrefslogtreecommitdiffstats
path: root/Lib/email/_compat22.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix a commentBarry Warsaw2003-04-021-1/+1
|
* typed_subpart_iterator(): Fix these to use non-deprecated APIs,Barry Warsaw2003-03-261-3/+10
| | | | | | i.e. get_content_maintype() and get_content_subtype(). Also, add True, False for Python 2.2.x where x < 2 compatibility.
* body_line_iterator(): Accept optional decode argument, pass through toBarry Warsaw2003-03-111-3/+6
| | | | Message.get_payload().
* _isstring(): Factor out "stringiness" test, e.g. for StringType orBarry Warsaw2002-09-101-1/+5
| | | | UnicodeType, which is different between Python 2.1 and 2.2.
* _intdiv2() -> _floordiv(), merge of uncommitted changes.Barry Warsaw2002-06-021-4/+4
|
* Get email test to pass. Barry, hope this is what you had in mindNeal Norwitz2002-06-021-3/+3
|
* Complete a merge of the mimelib project and the Python cvs codebasesBarry Warsaw2002-05-191-0/+56
for the email package. The former is now just a shell project that has some extra files for packaging for independent use (e.g. setup.py and README). Added a compatibility layer so that the same API can be used in Python 2.1 and 2.2/2.3 with the major differences shuffled off into helper modules (_compat21.py and _compat22.py). Also bumped the package version number to 2.0.3 for some fixes to be checked in momentarily.