[Spambayes] Mailbox class in the spambayes project & python 2.2.1

Alexander Leidinger Alexander@Leidinger.net
Wed, 25 Sep 2002 18:31:03 +0200


On Wed, 25 Sep 2002 11:58:36 -0400 Guido van Rossum <guido@python.org>
wrote:

> Content-Type: multipart/signed; micalg*=ansi-x3-4-1968''pgp-md5;
> 	protocol*=ansi-x3-4-1968''application%2Fpgp-signature;
> 	boundary*="ansi-x3-4-1968''EeQfGwPcQSOJBaQU"

> This fails because in this case, boundary is the tuple
> ('ansi-x3-4-1968', '', 'EeQfGwPcQSOJBaQU') where the actual boundary
> is the third element.  (The first is an encoding, a fancy name for
> ASCII AFAICT; the second is an optional natural language.)

This means the boundary is encoded with ansi-x3-4-1968? So get_boundary()
is supposed to return ansi_x3_4_1968.decode(boundary) with the actual API?

Do I hear something like iconv awakening?

Bye,
Alexander.

P.S.: s/fancy_name\(\)/natural_language()/ in my last response to this mail.
-- 
            The dark ages were caused by the Y1K problem.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7