[issue1409460] email.Utils.parseaddr() gives arcane result

2010-07-17 Thread Mark Sapiro
Mark Sapiro added the comment: > parsing 'merwok' > expected ('merwok', '') > got ('', 'merwok') I think ('', 'merwok') is the correct result. I think most if not all MUAs/MTAs will interpret an address wit

[issue5713] smtplib gets out of sync if server returns a 421 status

2009-10-22 Thread Mark Sapiro
Mark Sapiro added the comment: I'm not completely sure about this, but here's my thoughts. In the scenarios I've seen, the 421 reply/disconnect only occurs in response to a RCPT which has an invalid address and follows several prior refused RCPTs. In this case, I think the prop

[issue4789] Documentation changes break existing URIs

2008-12-30 Thread Mark Sapiro
New submission from Mark Sapiro : The Mailman GUI contains a few links to the python.org documentation which are now broken. These links and the current equivalents are: http://www.python.org/doc/ works, but could map to http://docs.python.org/ http://www.python.org/doc/current/ works

[issue4279] Module 'parser' fails to build

2009-01-10 Thread Mark Sapiro
Mark Sapiro added the comment: This problem also occurs when building the 2.6.1 parser module on Cygwin 1.5.25. It did not occur with Python 2.6 or 2.5.x. The error from 'make' is building 'parser' extension gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.25

[issue4288] parsermodule and grammar variable

2009-01-10 Thread Mark Sapiro
Changes by Mark Sapiro : -- nosy: +msapiro ___ Python tracker <http://bugs.python.org/issue4288> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4789] Documentation changes break existing URIs

2009-01-10 Thread Mark Sapiro
Mark Sapiro added the comment: Thank you for adding the redirects, and for getting them right in spite of my garbling some of them in the original report. I have updated the links for the next Mailman release. ___ Python tracker <http://bugs.python.

[issue5277] email message.get_params() and related methods sometimes fail.

2009-02-15 Thread Mark Sapiro
New submission from Mark Sapiro : The message method get_params() and the related get_param() and get_filename() do not properly decode an RFC 2231 encoded parameter such as the following: Content-Disposition: inline; filename*0="Re: [Mailman-Users] Messages shunted with \"

[issue5713] smtplib gets out of sync if server returns a 421 status

2009-04-06 Thread Mark Sapiro
New submission from Mark Sapiro : RFC821 upon which smtplib was originally based does not define a 421 status code and implies the server should only disconnect in response to a QUIT command. Subsequent extensions in RFC2821 (and now RFC5321) define situations under which the server may return