Re: [Python-Dev] Bug in smtpd.SMTPChannel.smtp_MAIL

2007-10-21 Thread Derek Shockey
I did actually submit a patch last night after I emailed the list. The issue ID is 1307. I used the ternary operator (because I like it and because it was the shortest solution), but if this is not desirable for backwards compatibility, I could obviously rewrite it another way. -Derek Shockey O

Re: [Python-Dev] Bug in smtpd.SMTPChannel.smtp_MAIL

2007-10-21 Thread Guido van Rossum
Could you submit a patch to the bug tracker (bugs.python.org)? 2007/10/20, Derek Shockey <[EMAIL PROTECTED]>: > smtpd.SMTPChannel contains a bug such that when connected to an SMTPServer > (or any subclass thereof), issuing a MAIL command with no argument closes > the socket and gives this error o

[Python-Dev] Bug in smtpd.SMTPChannel.smtp_MAIL

2007-10-21 Thread Derek Shockey
smtpd.SMTPChannel contains a bug such that when connected to an SMTPServer (or any subclass thereof), issuing a MAIL command with no argument closes the socket and gives this error on the server: error: uncaptured python exception, closing channel (:'NoneType' object is unsubscriptable [/System/L