Re: [Python-Dev] C Decimal - is there any interest?

2007-10-21 Thread Daniel Stutzbach
On 10/19/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2007/10/16, Daniel Stutzbach <[EMAIL PROTECTED]>: > > I agree. A basic subquadratic radix conversion algorithm isn't much > > more complex than the existing quadratic code. I just whipped > > together a Python prototype and it's only 15 li

[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

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

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