summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.7.rst
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2018-09-13 18:49:47 (GMT)
committerGitHub <noreply@github.com>2018-09-13 18:49:47 (GMT)
commit66755cbb1e529f54c9066639ebbbac81add0affd (patch)
treef8cb2ec1237e7a11aa629559d42623eeb4149753 /Doc/whatsnew/3.7.rst
parente78734d579439861f6d7e12f35d268836b2c1e24 (diff)
downloadcpython-66755cbb1e529f54c9066639ebbbac81add0affd.zip
cpython-66755cbb1e529f54c9066639ebbbac81add0affd.tar.gz
cpython-66755cbb1e529f54c9066639ebbbac81add0affd.tar.bz2
bpo-34247: add porting note to 3.7 What's New (GH-9223)
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r--Doc/whatsnew/3.7.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index be4fef1..f53a026 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -2484,3 +2484,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`.