STINNER Victor <vstin...@python.org> added the comment:
commit eaede0ded72e67cee4a91c086847d54cb64ca74c Author: Victor Stinner <vstin...@python.org> Date: Mon May 17 23:48:35 2021 +0200 bpo-44131: Test Py_FrozenMain() (GH-26126) * Add test_frozenmain to test_embed * Add Programs/test_frozenmain.py * Add Programs/freeze_test_frozenmain.py * Add Programs/test_frozenmain.h * Add make regen-test-frozenmain * Add test_frozenmain command to Programs/_testembed * _testembed.c: add error(msg) function commit 58a993957abec7e47acb20376d2753051fa75452 Author: Victor Stinner <vstin...@python.org> Date: Thu May 20 12:08:05 2021 +0200 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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com