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 chris.jerdonek
Recipients amaury.forgeotdarc, brett.cannon, chris.jerdonek, ncoghlan
Date 2012-08-22.00:15:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345594524.86.0.181028336556.issue15316@psf.upfronthosting.co.za>
In-reply-to
Content
I randomly ran into this issue again.  I'm not sure this was ever resolved (i.e. I think it may always have been different from issue 15111).

I still get the above behavior in the default branch.

And here is what I get in the 3.2 branch (the error information is not swallowed):
 
$ ./python.exe -m foo
***
Traceback (most recent call last):
  File ".../Lib/runpy.py", line 161, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File ".../Lib/runpy.py", line 74, in _run_code
    exec(code, run_globals)
  File ".../foo/__main__.py", line 1, in <module>
    from foo import bar
  File "foo/bar.py", line 2, in <module>
    raise ImportError('test...')
ImportError: test...
History
Date User Action Args
2012-08-22 00:15:25chris.jerdoneksetrecipients: + chris.jerdonek, brett.cannon, amaury.forgeotdarc, ncoghlan
2012-08-22 00:15:24chris.jerdoneksetmessageid: <1345594524.86.0.181028336556.issue15316@psf.upfronthosting.co.za>
2012-08-22 00:15:24chris.jerdoneklinkissue15316 messages
2012-08-22 00:15:21chris.jerdonekcreate