Better error message on recursive import

Thomas Guettler hv at
Thu Sep 11 12:43:34 CEST 2008


why does Python only raise ImportError if it fails caused by a recursive import?

I know what's wrong. But I guess many beginner don't know what's wrong. I don't
want much, just "RecursiveImportError" instead of "ImportError". Is this possible?


Thomas Guettler,
E-Mail: guettli (*) thomas-guettler + de

More information about the Python-list mailing list