quopri module bug? (python 1.5.2)

Gilles Lenfant glenfant at nospam-e-pack.net
Mon Oct 2 15:36:58 EDT 2000


Workaround found:
I made a change in the "quopri.py" module and it works (means that the mail
clients decode correctly encoded messages)
Change the "quote" function and comment the first lines like this:
==== quopri.py ====
...
def quote(c):
## if c == ESCAPE:
##  return ESCAPE * 2
## else:
  i = ord(c)
  return ESCAPE + HEX[i/16] + HEX[i%16]
...
==== end quopri.py ====


"Gilles Lenfant" <glenfant at nospam-e-pack.net> a écrit dans le message news:
8rak0r$iih$1 at reader1.imaginet.fr...
> quopri encodes "=" to "==" when mail clients encode/decode it to/from
"=3D".
> Mail clients I tested are Outlook express (Win), StarOffice and Netscape
> messenger (Linux)
> Who has got the bug ? Python or the mail clients ?
>
>
>
>




More information about the Python-list mailing list