STINNER Victor <vstin...@redhat.com> added the comment:
The behaviour changed has been introduced by bpo-22257: commit 1abcf6700b4da6207fe859de40c6c1bada6b4fec Author: Eric Snow <ericsnowcurren...@gmail.com> Date: Tue May 23 21:46:51 2017 -0700 bpo-22257: Private C-API for core runtime initialization (PEP 432). (#1772) (patch by Nick Coghlan) Simplified change: - if (initialized) - return; - initialized = 1; + if (_Py_Initialized) { + Py_FatalError("Py_InitializeCore: main interpreter already initialized"); + } ---------- components: +Interpreter Core -Documentation _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33932> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com