STINNER Victor added the comment:
There is already an existing public C API get retrieve original program
arguments *as text*:
/* Make the *original* argc/argv available to other modules.
This is rare, but it is needed by the secureware extension. */
void
Py_GetArgcArgv(int *argc, wchar_t ***argv)
{
*argc = orig_argc;
*argv = orig_argv;
}
Are you talking about exposing these arguments at the Python level?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29857>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com