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 barry, jwilk, ncoghlan, steven.daprano, vstinner
Date 2017-03-21.14:04:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490105094.94.0.20650501219.issue29857@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2017-03-21 14:04:55vstinnersetrecipients: + vstinner, barry, ncoghlan, jwilk, steven.daprano
2017-03-21 14:04:54vstinnersetmessageid: <1490105094.94.0.20650501219.issue29857@psf.upfronthosting.co.za>
2017-03-21 14:04:54vstinnerlinkissue29857 messages
2017-03-21 14:04:54vstinnercreate