New submission from STINNER Victor <vstin...@redhat.com>:

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.

----------
components: Interpreter Core
messages: 342653
nosy: ncoghlan, steve.dower, twouters, vstinner
priority: normal
severity: normal
status: open
title: Update Py_FrozenMain() for _PyCoreConfig (PEP 587)
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36940>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to