[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-10-02 Thread R. David Murray
R. David Murray added the comment: Fix committed to py3k in r85179, 3.1 in r85170, and 2.7 in r85181. I modified the unit tests, deleting the ones that were redundant because they were just two different python spellings of the same input string, and adding a comment about the third test cas

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-10-01 Thread R. David Murray
R. David Murray added the comment: After working my way through the code I no longer think that parseaddr is working as designed. I think that this is a bug, and that there is a missing call to quote in getaddrspec. Attached is a revised set of unit tests and a fix. The full python test su

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-10-01 Thread R. David Murray
R. David Murray added the comment: It does appear as though parseaddr is dropping quoting information from the returned parsed address. Fixing this is likely to create backward compatibility issues, and I'm very curious to know why parseaddr drops the quoting info. Note that I do not observ

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-09-30 Thread Jeffrey Finkelstein
Jeffrey Finkelstein added the comment: I can confirm this bug. Attached is the test case. -- keywords: +patch nosy: +jfinkels Added file: http://bugs.python.org/file19079/issue1050268.testcase.patch ___ Python tracker

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-08-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- assignee: barry -> r.david.murray nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2009-02-14 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed title: rfc822.parseaddr is broken, breaks sendmail call in smtplib -> rfc822.parseaddr is broken, breaks sendmail call in smtplib type: -> behavior versions: +Python 2.6 -Python 2.4 ___ Python tra