Comment 0 for bug 300141

Revision history for this message
Matt Beaumont-Gay (mattb-cs) wrote : python-uniconvertor exits interpreter on import

uniconvertor's __init__.py unconditionally tests sys.argv, and if it is found lacking (wrong number of args, etc.), the script calls sys.exit. This wouldn't be much of a problem except that when you run 'help("modules")' in the Python interpreter, it tries to import every module it can find, and when it imports uniconvertor, the interpreter suddenly quits. (Tangentially, this also breaks zsh's tab-completion script for arguments to 'python -m'.)