Message155574
It is very simple to reproduce this error.
There is an executable package:
package/
__init__.py
__main__.py
The __init__ imports a missing module:
import missing_module
And the __main__ imports from it:
from . import missing_module
Now I get the following output which is not what I am expecting:
C:\Python27\python.exe: No module named missing_module; 'package' is
a package and cannot be directly executed |
|
Date |
User |
Action |
Args |
2012-03-13 06:50:36 | schlamar | set | recipients:
+ schlamar |
2012-03-13 06:50:36 | schlamar | set | messageid: <1331621436.28.0.000669565075438.issue14285@psf.upfronthosting.co.za> |
2012-03-13 06:50:35 | schlamar | link | issue14285 messages |
2012-03-13 06:50:35 | schlamar | create | |
|