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

This commit is contained in:
Ned Deily 2018-09-13 11:49:47 -07:00 committed by GitHub
parent e78734d579
commit 66755cbb1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -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`.