stranger4good added the comment: 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > <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 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2118> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com