Message139778
This happens on Python3:
root@ubuntu1004devel64:~# python3
Python 3.1.2 (r312:79147, Sep 27 2010, 09:57:50)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from email.header import decode_header
>>> decode_header('=?iso-8859-1?B?QW5tZWxkdW5nIE5ldHphbnNjaGx1c3MgU_xkcmluZzNwLmpwZw==?=')
Traceback (most recent call last):
File "/usr/lib/python3.1/email/header.py", line 98, in decode_header
word = email.base64mime.decode(encoded_string)
File "/usr/lib/python3.1/email/base64mime.py", line 112, in decode
return a2b_base64(string.encode('raw-unicode-escape'))
binascii.Error: Incorrect padding
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.1/email/header.py", line 100, in decode_header
raise HeaderParseError('Base64 decoding error')
email.errors.HeaderParseError: Base64 decoding error |
|
Date |
User |
Action |
Args |
2011-07-04 14:39:12 | guettli | set | recipients:
+ guettli |
2011-07-04 14:39:12 | guettli | set | messageid: <1309790352.52.0.999375734103.issue12489@psf.upfronthosting.co.za> |
2011-07-04 14:39:12 | guettli | link | issue12489 messages |
2011-07-04 14:39:11 | guettli | create | |
|