Guido van Rossum <gu...@python.org> added the comment: I think it’s reasonable to expect sys.argv to have at least one item, possibly empty. The proposed fix of setting it to [“”] seems right to me. -- --Guido (mobile)
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com