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

Guido van Rossum guido at python.org
Mon Jun 26 02:51:17 CEST 2006


On 6/24/06, Jean-Paul Calderone <exarkun at divmod.com> wrote:

>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.

But this change was not made, and afaict it is not going to be made.

Correct. We'll stick with the warning. (At least until Py3k but most likely also in Py3k.)

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list