Roundup Robot added the comment:
New changeset 4c5b1932354b by R David Murray in branch '3.3':
#20206, #5803: more efficient algorithm that doesn't truncate output.
http://hg.python.org/cpython/rev/4c5b1932354b
New changeset b6c3fc21286f by R David Murray in branch 'default':
Merge #20206,
R. David Murray added the comment:
Fixed.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20206
___
New submission from Andras Timar:
Try this sample script:
# coding=utf-8
import email
import email.charset
import email.message
c = email.charset.Charset('utf-8')
c.body_encoding = email.charset.QP
m = email.message.Message()
m.set_payload(This is a Greek letter upsilon: υ, c)
Milap Bhojak added the comment:
hope it will fix that issue
--
nosy: +milap.py
versions: +Python 2.7 -Python 3.3
Added file: http://bugs.python.org/file33376/email.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20206
R. David Murray added the comment:
This is a bug in quoprimime.body_encode. If you put a newline on the end of
your string, it will work as expected.
The patch in issue 5803 does not have the bug, so I'll probably just apply that
to both 3.3 and 3.4.
--
components: +email