This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients docs@python, jaraco
Date 2020-08-22.12:35:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598099717.03.0.849817579096.issue41615@roundup.psfhosted.org>
In-reply-to
Content
In [pypa/keyring#445](https://github.com/pypa/keyring/445) and issue839151, we learned that there are Python interpreters in which `sys.argv` is an empty list, is not a list, or is not initialized at all. Through use of `sys.argv[0]`, the documentation strongly implies that `sys.argv` is always a list of at least one element. The documentation makes no mention of these other cases. It would be nice if the documentation would describe what values (or absence thereof) are valid for `sys.argv`.
History
Date User Action Args
2020-08-22 12:35:17jaracosetrecipients: + jaraco, docs@python
2020-08-22 12:35:17jaracosetmessageid: <1598099717.03.0.849817579096.issue41615@roundup.psfhosted.org>
2020-08-22 12:35:16jaracolinkissue41615 messages
2020-08-22 12:35:16jaracocreate