Broken module detection (Re: [Python-Dev] regrtest.py mystery) (original) (raw)

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 18 Dec 2001 13:13:57 +1300 (NZDT)


"Martin v. Loewis" <martin@v.loewis.de>:

I would have said "does not throw ImportError".

Or any other error. If a module fails to complete all its initialisation code for any reason, it can't be trusted.

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+