Author exarkun
Recipients BabakM, Hiroaki.Kawai, astsmtl, cfraire, dveeden, exarkun, jamesh, jcea, loewis, vstinner
Date 2014-10-10.01:32:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412904751.13.0.840807046739.issue5305@psf.upfronthosting.co.za>
In-reply-to
Content
> the twisted imap API is problematic for imaplib because twisted seems to expect its arguments to already be Python unicode.

Could you elaborate on this?  As far as I can tell, it works fine:

    >>> import twisted.mail.imap4
    >>> print u"Hello, \N{SNOWMAN}".encode('imap4-utf-7')
    Hello, &JgM-
    >>> print b'Hello, &JgM-'.decode('imap4-utf-7')
    Hello, ☃
    >>> 

What would you expect to work differently?
History
Date User Action Args
2014-10-10 01:32:31exarkunsetrecipients: + exarkun, loewis, jcea, jamesh, vstinner, Hiroaki.Kawai, astsmtl, BabakM, cfraire, dveeden
2014-10-10 01:32:31exarkunsetmessageid: <1412904751.13.0.840807046739.issue5305@psf.upfronthosting.co.za>
2014-10-10 01:32:31exarkunlinkissue5305 messages
2014-10-10 01:32:30exarkuncreate