New submission from Ronald Oussoren <ronaldousso...@mac.com>: The pysetup3 command gives a fairly unfriendly error message with python traceback when you specify an unknown command:
pysetup3 instal Unrecognized action "instal" Traceback (most recent call last): File "/Library/Frameworks/PythonDev.framework/Versions/3.3/lib/python3.3/packaging/run.py", line 647, in main dispatcher = Dispatcher(args) File "/Library/Frameworks/PythonDev.framework/Versions/3.3/lib/python3.3/packaging/run.py", line 401, in __init__ raise PackagingArgError(msg) packaging.errors.PackagingArgError: Unrecognized action "instal" The traceback is not useful for the user of the script and should therefore not be shown. BTW. It would also be nice if 'pysetup3 help' would give the same output as 'pysetup3 --help', similar to how 'hg help' behaves. ---------- assignee: eric.araujo components: Distutils2 messages: 161396 nosy: alexis, eric.araujo, ronaldoussoren, tarek priority: low severity: normal stage: needs patch status: open title: pysetup: unfriendly error message for unknown commands type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14887> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com