Eryk Sun added the comment: A ValueError should also be raised when argv[0] is an empty string. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28732> _______________________________________