[Python-Dev] ImportWarning flood (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Jun 24 11:47:19 CEST 2006


Ralf W. Grosse-Kunstleve wrote:

--- "Martin v. Löwis" <martin at v.loewis.de> wrote:

I don't know. Whether a warning is a problem is a matter of attitude, also. Our users will think our applications are broken if they see warnings like that. It is not professional.

Actually, your application was pretty close to being broken a few weeks ago, when Guido wanted to drop the requirement that a package must contain an init file. In that case, "import math" would have imported the directory, and given you an empty package.

Regards, Martin



More information about the Python-Dev mailing list