]> granicus.if.org Git - python/commit
bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Jun 2018 17:33:48 +0000 (10:33 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Jun 2018 17:33:48 +0000 (10:33 -0700)
commit3747dd16d5d2af3499f586386e49740a0454cf44
tree3d92645f482068ca93a9267b6195cf25c7fc2d14
parent1bb9dd337ed5aa9eafc8e2ce017ceedf044145e3
bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845)

Calling Py_Initialize() twice does nothing, instead of failing with a
fatal error: restore the Python 3.6 behaviour.
(cherry picked from commit 209abf746985526bce255e2fba97d3246924885d)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_embed.py
Misc/NEWS.d/next/C API/2018-06-21-15-29-59.bpo-33932.VSlXyS.rst [new file with mode: 0644]
Programs/_testembed.c
Python/pylifecycle.c