Joe Smith wrote: > It seems to me that the right way to fix this is to simply make a small > change to the error message. > On a failed import, have the code check if there is a directory that would > have been the requested package if > it had contained an __init__ module. If there is then append a message like > "You might be missing an __init__.py file".
+1. It's not that putting an __init__.py file in is hard, it's that people have a hard time realizing when they've forgotten to do it. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com