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 joukewitteveen
Recipients docs@python, joukewitteveen
Date 2021-04-27.17:57:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619546220.77.0.781822360652.issue43956@roundup.psfhosted.org>
In-reply-to
Content
The default program name is hardcoded in Python/initconfig.c:config_init_program_name. It is "python" on Windows, and "python3" elsewhere. The documentation currently suggests that it is "python" everywhere.

Additionally, the documentation currently says:

> The argument should point to a zero-terminated wide character string in static storage whose contents will not change for the duration of the program’s execution.

The code, however, duplicates the string, so I am not sure this is true.
History
Date User Action Args
2021-04-27 17:57:00joukewitteveensetrecipients: + joukewitteveen, docs@python
2021-04-27 17:57:00joukewitteveensetmessageid: <1619546220.77.0.781822360652.issue43956@roundup.psfhosted.org>
2021-04-27 17:57:00joukewitteveenlinkissue43956 messages
2021-04-27 17:57:00joukewitteveencreate