Packages, modules and exceptions

Niki Spahiev spahievi at vega.bg
Mon Mar 12 17:22:25 EST 2001


12.3.2001, 17:14:52, Ng Pheng Siong wrote:


NPS> Hi,

NPS> In M2Crypto, I have the following (abridged) directory structure:

NPS>     M2Crypto/
NPS>             SSL/
NPS>                 __init__.py
NPS>                 Connection.py

NPS> Within M2Crypto/SSL/__init__.py, I have the following:

NPS>     class SSLError(Exception): pass


Why not "class SSLError(StandardError)" so we can leave SystemExit
alone.

-- 
Best regards,
 Niki Spahiev






More information about the Python-list mailing list