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 ncoghlan, steve.dower, twouters, vstinner
Date 2019-05-16.15:26:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558020377.53.0.622883687871.issue36940@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-16 15:26:17vstinnersetrecipients: + vstinner, twouters, ncoghlan, steve.dower
2019-05-16 15:26:17vstinnersetmessageid: <1558020377.53.0.622883687871.issue36940@roundup.psfhosted.org>
2019-05-16 15:26:17vstinnerlinkissue36940 messages
2019-05-16 15:26:17vstinnercreate