[Python-checkins] bpo-34247: add porting note to 3.7 What's New (GH-9223)

Miss Islington (bot) webhook-mailer at python.org
Thu Sep 13 15:14:49 EDT 2018


https://github.com/python/cpython/commit/305056494d7e1debec3df268b8925725b0110293
commit: 305056494d7e1debec3df268b8925725b0110293
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-09-13T12:14:46-07:00
summary:

bpo-34247: add porting note to 3.7 What's New (GH-9223)

(cherry picked from commit 66755cbb1e529f54c9066639ebbbac81add0affd)

Co-authored-by: Ned Deily <nad at python.org>

files:
M Doc/whatsnew/3.7.rst

diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index cb4865e48403..2a2e23cc6f91 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -2485,3 +2485,13 @@ The current exception state has been moved from the frame object to the co-routi
 This simplified the interpreter and fixed a couple of obscure bugs caused by
 having swap exception state when entering or exiting a generator.
 (Contributed by Mark Shannon in :issue:`25612`.)
+
+Notable changes in Python 3.7.1
+===============================
+
+Starting in 3.7.1, :c:func:`Py_Initialize` now consistently reads and respects
+all of the same environment settings as :c:func:`Py_Main` (in earlier Python
+versions, it respected an ill-defined subset of those environment variables,
+while in Python 3.7.0 it didn't read any of them due to :issue:`34247`). If
+this behavior is unwanted, set :c:data:`Py_IgnoreEnvironmentFlag` to 1 before
+calling :c:func:`Py_Initialize`.



More information about the Python-checkins mailing list