Message342653
Python/frozenmain.c should use pre-initialization and be adapted for _PyCoreConfig. Py_FrozenMain() reimplements some features which are now implemented by _Py_InitializeFromConfig():
* disable C streams (stdin, stdout, stderr) buffering
* decode argv using Py_DecodeLocale()
* set the program name (call Py_SetProgramName())
* set sys.argv
* reimplement the REPL
It seems like it could use _Py_RunMain(), but I'm not sure. |
|
Date |
User |
Action |
Args |
2019-05-16 15:26:17 | vstinner | set | recipients:
+ vstinner, twouters, ncoghlan, steve.dower |
2019-05-16 15:26:17 | vstinner | set | messageid: <1558020377.53.0.622883687871.issue36940@roundup.psfhosted.org> |
2019-05-16 15:26:17 | vstinner | link | issue36940 messages |
2019-05-16 15:26:17 | vstinner | create | |
|