]> 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)
committerNed Deily <nad@python.org>
Wed, 27 Jun 2018 00:14:34 +0000 (20:14 -0400)
commitb940921a67fa33e8c8812aa3b7746161c2552c1d
treeb3cff6a6c82c3a1ff5735c77978b53cdbecffd86
parent235d0fb93cb456701ce24fad2bc307e9f0312d73
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