Message376118
I had the same idea late last night, though after 20 years, I have forgotten how to spell "['']" in C. (Is some sort of allocation or declaration required?).
In the doc, change "It does not set sys.argv; use PySys_SetArgvEx() for that." to "It initializes sys.argv to ['']; use PySys_SetArgvEx() to modify it or change sys.path."
"This is a no-op when called for a second time (without calling Py_FinalizeEx() first)." needs to be respected. |
|
Date |
User |
Action |
Args |
2020-08-30 18:10:28 | terry.reedy | set | recipients:
+ terry.reedy, gvanrossum, jaraco, docs@python |
2020-08-30 18:10:28 | terry.reedy | set | messageid: <1598811028.65.0.839215357607.issue41615@roundup.psfhosted.org> |
2020-08-30 18:10:28 | terry.reedy | link | issue41615 messages |
2020-08-30 18:10:28 | terry.reedy | create | |
|