This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stranger4good
Recipients christian.heimes, stranger4good
Date 2008-02-16.01:38:15
SpamBayes Score 0.002423948
Marked as misclassified No
Message-id <841873.95285.qm@web55107.mail.re4.yahoo.com>
In-reply-to <1203063393.24.0.461861905927.issue2118@psf.upfronthosting.co.za>
Content
Not in so many words, but yes it does

I cite:

exception SMTPException 
Base exception class for all exceptions raised by this
module
...
exception SMTPConnectError 
Error occurred during establishment of a connection
with the server. 
...

Note the word "all". So, at least one should be able
to catch SMTPException, but it is not the case

Just my 2 cents. I do believe it is a great piece of
work.

Regards

--- Christian Heimes <report@bugs.python.org> wrote:

> 
> Christian Heimes added the comment:
> 
> Why is this a bug? Do the docs promise that smtplib
> only raises
> SMTPConnectError?
> 
> ----------
> nosy: +tiran
> priority:  -> normal
> 
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue2118>
> __________________________________
> 

      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
History
Date User Action Args
2008-02-16 01:38:18stranger4goodsetspambayes_score: 0.00242395 -> 0.002423948
recipients: + stranger4good, christian.heimes
2008-02-16 01:38:16stranger4goodlinkissue2118 messages
2008-02-16 01:38:15stranger4goodcreate