[Tutor] smtplib exceptions are based on Exception class
Lloyd Kvam
pythonTutor at venix.com
Fri Aug 27 21:21:42 CEST 2004
from smtplib:
class SMTPException(Exception):
"""Base class for all exceptions raised by this module."""
Shouldn't the base class be StandardError or a class derived from
StandardError? I didn't want to file a bug without getting another
opinion.
(I discovered it the hard way when my except StandardError block was
unable to deal with email errors.)
--
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358
voice: 603-653-8139
fax: 320-210-3409 (changed Aug 26, 2004)
More information about the Tutor
mailing list