[issue5259] smtplib is broken in Python3

2009-05-28 Thread R. David Murray
Changes by R. David Murray : -- stage: test needed -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5259] smtplib is broken in Python3

2009-05-28 Thread R. David Murray
R. David Murray added the comment: LOGIN and CRAM-MD5 login are fixed in r72990 (3.1) and r72991 (3.0). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue5259] smtplib is broken in Python3

2009-05-24 Thread R. David Murray
R. David Murray added the comment: Committed the simple auth tests and fix in r72868 in py3k and r72877 in 3.0. Also added the test to trunk in r72878 to keep the test source in sync, and to 26maint similarly in r72886. Now we need tests for the other auth cases. -- stage: commit revi

[issue5259] smtplib is broken in Python3

2009-05-23 Thread José Luis Cáceres
José Luis Cáceres added the comment: There is a similar problem that I found with encode_cram_md5 in smtplib.py, SMTP.login() method. I used the solution proposed by miwa, both for PLAIN and CRAM MD5 authentication. Additionally, for the last one, I had to introduce a second correction and by

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray stage: test needed -> commit review ___ Python tracker ___ ___ Python-bugs

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
R. David Murray added the comment: Looks like I accidentally deleted the file I was asking for. Not sure how that happened, but I'm reattaching it. -- Added file: http://bugs.python.org/file14043/test-smtplib.diff ___ Python tracker

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
R. David Murray added the comment: 5304 and 3921 are fixed. Is there still an issue here? If so, I think we need a test case we can add to the test suite. It can be a patch against the new test_smtpnet.py test. -- nosy: +r.david.murray ___ Python

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file13774/test-smtplib.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue5259] smtplib is broken in Python3

2009-04-25 Thread Daniel Diniz
Daniel Diniz added the comment: Martin: see a test script in issue 3921. -- nosy: +ajaksu2 priority: normal -> critical Added file: http://bugs.python.org/file13783/smtplib_eol.diff ___ Python tracker _

[issue5259] smtplib is broken in Python3

2009-04-25 Thread Marcin Bachry
Marcin Bachry added the comment: I add simple smtp auth unit test to exercise this bug. -- keywords: +patch nosy: +marcin.bachry Added file: http://bugs.python.org/file13774/test-smtplib.diff ___ Python tracker ___

[issue5259] smtplib is broken in Python3

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +email/base64mime.py cannot work, smtplib cannot sendmail over TLS keywords: +easy priority: -> normal stage: -> test needed type: crash -> behavior ___ Python tracker __

[issue5259] smtplib is broken in Python3

2009-02-18 Thread bill
bill added the comment: sorry, pressed the wrong button. that solution does work. didn't find this until #python helped me get: return encode_base64( ("\0%s\0%s" % (user, password) ).encode('ascii') ) -- nosy: +toastedrobot title: gmail smtp -> smtplib is broken in Python3 type: -> c

[issue5259] smtplib is broken in Python3

2009-02-14 Thread Musashi Tamura
Musashi Tamura added the comment: The attachment is output of smtptest.py on Python 3.0. Added file: http://bugs.python.org/file13092/3.0.txt ___ Python tracker ___ _

[issue5259] smtplib is broken in Python3

2009-02-14 Thread kalevi
kalevi added the comment: The attached test script works fine in Python 2.6. Replace the following texts in the script: f...@gmail.com t...@gmail.com password -- nosy: +kalevi Added file: http://bugs.python.org/file13088/smtptest.py ___ Python track

[issue5259] smtplib is broken in Python3

2009-02-14 Thread Martin v. Löwis
Martin v. Löwis added the comment: Can you show us the failing application? Most likely, the bug is in your code, not in Python. -- nosy: +loewis ___ Python tracker ___ _

[issue5259] smtplib is broken in Python3

2009-02-14 Thread Musashi Tamura
New submission from Musashi Tamura : Issue #<3921> may be the same problem. Sending Gmail by smtplib fails on Python 3.0 and 3.0.1. It seems to be exist two problems in encode_plain function in smtplib.py: * parameter of encode_base64 must be bytes, not str, * by default, encode_base64 adds