[Python-Dev] Fix import errors to have data

Barry Warsaw barry at python.org
Tue Jul 27 19:37:59 CEST 2004


On Tue, 2004-07-27 at 13:25, Tim Peters wrote:

> Sure!  Jim wants to distinguish "absenceness" from "brokenness" for
> some reason.

So, why doesn't imp.find_module() fit the bill?

> Leaving insane module objects behind is harmful, and I'd like to
> repair that.

+1 (wishing I could vote with a higher score).  Leaving broken modules
in sys.modules is a recurring headache.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20040727/bdc2fa35/attachment.pgp


More information about the Python-Dev mailing list