Message289940
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. |
|
Date |
User |
Action |
Args |
2017-03-21 15:18:51 | ncoghlan | set | recipients:
+ ncoghlan, barry, vstinner, jwilk, steven.daprano |
2017-03-21 15:18:51 | ncoghlan | set | messageid: <1490109531.93.0.15683574524.issue29857@psf.upfronthosting.co.za> |
2017-03-21 15:18:51 | ncoghlan | link | issue29857 messages |
2017-03-21 15:18:51 | ncoghlan | create | |
|