STINNER Victor <vstin...@python.org> added the comment:
Py_GetArgcArgv() is not new at all. It exists since: commit ac56b03f9a931423714ab3a0e8cfae78f81f9b85 Author: Guido van Rossum <gu...@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 <gu...@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; +} + ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40910> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com