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 vstinner
Recipients piro, vstinner
Date 2020-06-08.16:44:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591634676.19.0.834999242785.issue40910@roundup.psfhosted.org>
In-reply-to
Content
Py_GetArgcArgv() is not new at all. It exists since:

commit ac56b03f9a931423714ab3a0e8cfae78f81f9b85
Author: Guido van Rossum <guido@python.org>
Date:   Sun Jul 21 02:33:38 1996 +0000

    New style names for getprogramname and getargcargv


Previously, the function was known as getargcargv() and it existed since:

commit 7b1e974b4bd7c17cd90a6d03bab0aaa079d78d29
Author: Guido van Rossum <guido@python.org>
Date:   Mon Aug 29 10:46:42 1994 +0000

    Makefile.pre.in: add $(OPT) to link command
    audioop.c: fix for MPW
    config.c.in: save original argc/argv for Lance
    rotormodule.c: new coding conventions
    timemodule.c: add casts for Lance

+void
+getargcargv(argc,argv)
+       int *argc;
+       char ***argv;
+{
+       *argc = orig_argc;
+       *argv = orig_argv;
+}
+
History
Date User Action Args
2020-06-08 16:44:36vstinnersetrecipients: + vstinner, piro
2020-06-08 16:44:36vstinnersetmessageid: <1591634676.19.0.834999242785.issue40910@roundup.psfhosted.org>
2020-06-08 16:44:36vstinnerlinkissue40910 messages
2020-06-08 16:44:36vstinnercreate