]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44131: Py_FrozenMain() uses PyConfig_SetBytesArgv() (GH-26201)
authorVictor Stinner <vstinner@python.org>
Thu, 20 May 2021 10:08:05 +0000 (12:08 +0200)
committerGitHub <noreply@github.com>
Thu, 20 May 2021 10:08:05 +0000 (12:08 +0200)
commit58a993957abec7e47acb20376d2753051fa75452
tree51f07a305a5706e6f4be489a5c041c5f0bc966a1
parent4d396e7d79bd1152f991147718dc5f094a3cc957
bpo-44131: Py_FrozenMain() uses PyConfig_SetBytesArgv() (GH-26201)

Moreover, Py_FrozenMain() relies on Py_InitializeFromConfig() to
handle the PYTHONUNBUFFERED environment variable and configure C
stdio streams like stdout (make the stream unbuffered).
Lib/test/test_embed.py
Programs/test_frozenmain.h
Programs/test_frozenmain.py
Python/frozenmain.c