Fw: MIME objects
Barry Warsaw <[email protected]> Fri, 12 Mar 2010 17:21:48 -0500
| Newsgroups | gmane.comp.python.mime.devel |
|---|---|
| Organization | Damn Crazy Followers of the Horn |
| Message-ID | <[email protected]> |
My colleague Robert Collins sent me this and asked that I forward it to the email-sig for discussion. -Barry Begin forwarded message: Date: Sun, 28 Feb 2010 17:20:00 +1100 From: Robert Collins <[email protected]> To: Barry Warsaw <[email protected]> Subject: MIME objects I wanted to use MIME in selftest machinery, but the stdlib stuff was uhm, missing. So I wrote one; its working well - perhaps you could include it in the stdlib? http://bazaar.launchpad.net/~testtools-dev/testtools/trunk/annotate/head %3A/testtools/content_type.py http://bazaar.launchpad.net/~testtools-dev/testtools/trunk/annotate/head %3A/testtools/content.py (branch testtools, read the README + pydoc, look at tests. Features: - 2 and 3 clean - understands byte serialisation vs string representation - streaming interface: does not require or imply buffering - common case use is trivial (define one lambda: [value]). Cheers, Rob --
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLmr58AAoJEBJutWOnSwa/QGEP/3Hn5caAr5qx70/ggQKosuGl UH6s9k4Uid1eH+e+bBibBVKfymtoGwnRin1e1M6/2uzj657qDXpfRMRHqS1Gkzwi VQpE5u97DvwD1pXURZ2OBFyFsohCndndyBhhE9MlmJQFeVeDfD341GE2gD76/HWq 3QXnfL04vyGGOOtf8ssDNxFs+FxAuKGqPZy2nIEasL17VhpPePAC+feNjHaXovk1 h/dlWmCX0htkOYGfkSi/EussQ1apEWieQlVRrwHKAzR4d/QOdXT6jTuVb8Zale3r i5ghPdeJjVvfshc9l8H1mg1WgWFrWV8IuikHrjQyKo7d2hQ3fz2RNmSp9lGgVtRP 9tQdEhY2NIHZ0cDYiagcHClkF6X7yRZtYTqEfY+D0dnRy3xmReNtEWwLPMI51/L3 TOnmJ6Znfva/trOf7Fz/jf8Lx2swQVoiKQx2qCwV9jpg9dXmQPTj8/vyPXzQNQbM jma+o5lcENCWqWmMAohx2gDvB7PrYi0q2jlGV2KkN7rnM8zEYJsNT1F8iReQnMII 2BOaKEBePa6ec+CrxbxN0EiBXTo+maldvcpgCg3h9QLXLYrieTyiLrbsHiMhpX87 j2osw8e9KOEkukumGeM9wAYWXtiw8Ubjz0I432X3pYZrviiURBbMIsZzjP0Ar+wR kLhksaKL6/MRRKOMK6FG =MATj -----END PGP SIGNATURE-----