Skip to content

Commit 3050564

Browse files
bpo-34247: add porting note to 3.7 What's New (GH-9223)
(cherry picked from commit 66755cb) Co-authored-by: Ned Deily <[email protected]>
1 parent 218b4bf commit 3050564

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎Doc/whatsnew/3.7.rst‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2485,3 +2485,13 @@ The current exception state has been moved from the frame object to the co-routi
24852485
This simplified the interpreter and fixed a couple of obscure bugs caused by
24862486
having swap exception state when entering or exiting a generator.
24872487
(Contributed by Mark Shannon in :issue:`25612`.)
2488+
2489+
Notable changes in Python 3.7.1
2490+
===============================
2491+
2492+
Starting in 3.7.1, :c:func:`Py_Initialize` now consistently reads and respects
2493+
all of the same environment settings as :c:func:`Py_Main` (in earlier Python
2494+
versions, it respected an ill-defined subset of those environment variables,
2495+
while in Python 3.7.0 it didn't read any of them due to :issue:`34247`). If
2496+
this behavior is unwanted, set :c:data:`Py_IgnoreEnvironmentFlag` to 1 before
2497+
calling :c:func:`Py_Initialize`.

0 commit comments

Comments
 (0)