[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2013-06-28 Thread R. David Murray
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 ___

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2011-07-05 Thread Matt Joiner
Changes by Matt Joiner anacro...@gmail.com: -- nosy: +anacrolix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768 ___ ___ Python-bugs-list

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-06-04 Thread Forest Bond
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

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-06-04 Thread Forest Bond
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 ___

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-06-04 Thread R. David Murray
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

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-06-04 Thread R. David Murray
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

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-05-26 Thread STINNER Victor
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. --

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-05-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: high - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768 ___ ___

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-05-09 Thread garazi111
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.

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-04-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768 ___ ___ Python-bugs-list mailing

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-04-22 Thread Antoine Pitrou
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 ___

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-04-22 Thread R. David Murray
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 ___

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-04-19 Thread Stac
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

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-04-19 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768 ___ ___

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-04-19 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768 ___ ___ Python-bugs-list

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2009-01-01 Thread James Brotchie
Changes by James Brotchie brotc...@gmail.com: -- nosy: +brotchie ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768 ___ ___ Python-bugs-list

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2009-01-01 Thread STINNER Victor
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:

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2009-01-01 Thread STINNER Victor
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

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2008-12-29 Thread David M. Beazley
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 =

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2008-12-29 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - barry nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768 ___ ___