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 ncoghlan
Recipients barry, jwilk, ncoghlan, steven.daprano, vstinner
Date 2017-03-21.15:18:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490109531.93.0.15683574524.issue29857@psf.upfronthosting.co.za>
In-reply-to
Content
If the embedding application doesn't call PySys_SetArgv or PySys_SetArgvEx, then there is no `argv` attribute defined in the sys module (I wasn't actually sure what happened in that case, so I went and checked the code).

For the reference CLI, the relevant call happens in Py_Main() after all the interpreter level arguments have been processed.
History
Date User Action Args
2017-03-21 15:18:51ncoghlansetrecipients: + ncoghlan, barry, vstinner, jwilk, steven.daprano
2017-03-21 15:18:51ncoghlansetmessageid: <1490109531.93.0.15683574524.issue29857@psf.upfronthosting.co.za>
2017-03-21 15:18:51ncoghlanlinkissue29857 messages
2017-03-21 15:18:51ncoghlancreate