Skip to content

Commit

Permalink
bpo-34247: add porting note to 3.7 What's New (pythonGH-9223)
Browse files Browse the repository at this point in the history
  • Loading branch information
ned-deily committed Sep 13, 2018
1 parent e78734d commit 66755cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Doc/whatsnew/3.7.rst
Expand Up @@ -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`.

0 comments on commit 66755cb

Please sign in to comment.