This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author schlamar
Recipients schlamar
Date 2012-03-13.06:50:35
SpamBayes Score 0.0004285986
Marked as misclassified No
Message-id <1331621436.28.0.000669565075438.issue14285@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-03-13 06:50:36schlamarsetrecipients: + schlamar
2012-03-13 06:50:36schlamarsetmessageid: <1331621436.28.0.000669565075438.issue14285@psf.upfronthosting.co.za>
2012-03-13 06:50:35schlamarlinkissue14285 messages
2012-03-13 06:50:35schlamarcreate