]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36763: Use PyConfig_Clear() (GH-14445)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 1 Jul 2019 18:28:55 +0000 (11:28 -0700)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2019 18:28:55 +0000 (11:28 -0700)
commit4c227e6a56a9704fe5b4e4509071796f3359f4bb
treef5f09d2e39edf421976d1f8389b032ce0a6234f8
parent96f581cf9d2f1d7888d2fd9bb89f19f10c0477bf
bpo-36763: Use PyConfig_Clear() (GH-14445)

Stop using "static PyConfig", PyConfig must now always use
dynamically allocated strings: use PyConfig_SetString(),
PyConfig_SetArgv() and PyConfig_Clear().
(cherry picked from commit 67310023f299b5a2fad71fca449b46d280036690)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_embed.py
Modules/main.c
Programs/_freeze_importlib.c
Programs/_testembed.c