New submission from STINNER Victor <victor.stin...@gmail.com>:

"python -m module" calls the C RunModule() function. If this function fails, 
the traceback is not displayed and so it is difficult to understand why the 
problem is.

I propose to display the traceback when this function fails, as it is already 
done on runpy._run_module_as_main() failure.

----------
components: Library (Lib)
files: runmodule.patch
keywords: patch
messages: 157034
nosy: haypo
priority: normal
severity: normal
status: open
title: RunModule(): display the traceback on failure
versions: Python 3.3
Added file: http://bugs.python.org/file25062/runmodule.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14439>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to