R. David Murray added the comment:
For the record, encode_quopri was fixed in #14360.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
Changes by Matt Joiner anacro...@gmail.com:
--
nosy: +anacrolix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
___
Python-bugs-list
Forest Bond for...@alittletooquiet.net added the comment:
Attaching patch from reported duplicate issue8896.
--
nosy: +forest_atq
Added file:
http://bugs.python.org/file17551/python-email-encoders-base64-str.patch
___
Python tracker
Forest Bond for...@alittletooquiet.net added the comment:
Note that my patch is roughly the same as the original posted by haypo.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
R. David Murray rdmur...@bitdance.com added the comment:
Yes, but yours was better formatted, so I used it :) Thanks for the patch.
Applied in r81685 to py3k, and r81686.
--
resolution: accepted - fixed
stage: patch review - committed/rejected
status: open - closed
R. David Murray rdmur...@bitdance.com added the comment:
@garazi111: if you have an example where quopri fails, please open a new issue
for it. I suspect you are right that there is a problem there.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
I wrote a patch for base64.b64encode() to accept str (str is encoded to utf-8):
patch attached to #4768. It should fix this issue, but we can add the tests of
email_base64_bytes.patch.
--
Changes by R. David Murray rdmur...@bitdance.com:
--
priority: high - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
___
garazi111 garazi...@yahoo.fr added the comment:
Hi,
I think the bug is also present in the function encode_quopri which should look
like this :
def encode_quopri(msg):
Encode the message's payload in quoted-printable.
Also, add an appropriate Content-Transfer-Encoding header.
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
priority: - high
stage: - patch review
versions: +Python 3.1, Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: barry - r.david.murray
resolution: - accepted
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
Stac stac_agen...@yahoo.fr added the comment:
Hello,
This patch has never been commited. I tested today with the 3.1 branch (and
checked in the lib code). Is there a better way to attach images in an email ?
Thanks in advance for your help,
Regards,
Stac
--
nosy: +stac
Changes by Shashwat Anand anand.shash...@gmail.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
___
Changes by Shashwat Anand anand.shash...@gmail.com:
--
nosy: +l0nwlf
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
___
Python-bugs-list
Changes by James Brotchie brotc...@gmail.com:
--
nosy: +brotchie
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
I think the library function base64.b64encode() should return
a string, not bytes.
Yes, in the email module, the payload is an unicode string, not a
bytes string. We have to be able to concatenate headers
(eg. Content-Type:
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
keywords: +patch
Added file: http://bugs.python.org/file12525/email_base64_bytes.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
New submission from David M. Beazley beaz...@users.sourceforge.net:
The email.generator.Generator class does not work correctly message
objects created with binary data (MIMEImage, MIMEAudio, MIMEApplication,
etc.). For example:
from email.mime.image import MIMEImage
data =
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - barry
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4768
___
___
20 matches
Mail list logo