[issue20206] email quoted-printable encoding issue

2014-01-13 Thread R. David Murray

R. David Murray added the comment:

Fixed.

--
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20206] email quoted-printable encoding issue

2014-01-13 Thread Roundup Robot

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, #5803: more efficient algorithm that doesn't truncate output.
http://hg.python.org/cpython/rev/b6c3fc21286f

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20206] email quoted-printable encoding issue

2014-01-09 Thread R. David Murray

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
dependencies: +email/quoprimime: encode and decode are very slow on large 
messages
nosy: +barry, r.david.murray
versions: +Python 3.3, Python 3.4 -Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20206] email quoted-printable encoding issue

2014-01-09 Thread Milap Bhojak

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20206] email quoted-printable encoding issue

2014-01-09 Thread Andras Timar

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)
print(m.as_string())

Actual result: "This is a Greek letter upsilon: =CF" 
Expected result: "This is a Greek letter upsilon: =CF=85"

--
components: Library (Lib)
messages: 207737
nosy: timar
priority: normal
severity: normal
status: open
title: email quoted-printable encoding issue
type: behavior
versions: Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com