diff options
author | Victor Stinner <vstinner@python.org> | 2022-01-21 02:12:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 02:12:18 +0100 |
commit | 6415e2ee4955b1a995c1e75544e2506b03780c3d (patch) | |
tree | 114b726b45a2c1987721d295a115f870c37adb2c /Python/sysmodule.c | |
parent | e9e3eab0b868c7d0b48e472705024240d5c39d5c (diff) | |
download | cpython-6415e2ee4955b1a995c1e75544e2506b03780c3d.tar.gz cpython-6415e2ee4955b1a995c1e75544e2506b03780c3d.zip |
bpo-46417: _testembed.c avoids Py_SetProgramName() (GH-30732)
* _testembed_Py_Initialize() now uses the PyConfig API, rather than
deprecated Py_SetProgramName().
* Reduce INIT_LOOPS from 16 to 4: test_embed now takes 8.7 seconds
rather than 14.7 seconds.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions