From 13c5b057917deb4e51def0b83911cfe9d478a909 Mon Sep 17 00:00:00 2001 From: Ido Michael Date: Tue, 11 Feb 2020 07:59:54 -0500 Subject: [PATCH 1/6] Hard reset + cherry piciking the changes. --- Lib/importlib/_bootstrap_external.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 2434cf06fd44445..13f0191839cda41 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -35,7 +35,7 @@ def _make_relax_case(): def _relax_case(): """True if filenames must be checked case-insensitively.""" - return key in _os.environ + return not sys.flags.ignore_environment and key in _os.environ else: def _relax_case(): """True if filenames must be checked case-insensitively.""" From fdecdf01b96d90d7f91f29d3e783a88fb455a230 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2020 13:01:40 +0000 Subject: [PATCH 2/6] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst diff --git a/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst b/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst new file mode 100644 index 000000000000000..c66e735ec284e91 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst @@ -0,0 +1 @@ +Updated :meth:`importlib._bootstrap_external._make_relax_case` to ignore :envvar:`PYTHONCASEOK` when -E or -I flags are used. \ No newline at end of file From 29d13c9a52171bbb880f29b981f8763cbab0dbfb Mon Sep 17 00:00:00 2001 From: Ido Michael Date: Tue, 11 Feb 2020 20:15:24 -0500 Subject: [PATCH 3/6] Added @vstinner News --- .../next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst b/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst index c66e735ec284e91..34f2677df52e2ba 100644 --- a/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst +++ b/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst @@ -1 +1,2 @@ -Updated :meth:`importlib._bootstrap_external._make_relax_case` to ignore :envvar:`PYTHONCASEOK` when -E or -I flags are used. \ No newline at end of file +The :mod:`importlib` module now ignore the :envvar:`PYTHONCASEOK` +environment variable when :option:`-E` or :option:`-I` command line option is used. \ No newline at end of file From 135259fdaf83ad0c95ee12dbeeb5ecbeadcc5422 Mon Sep 17 00:00:00 2001 From: idomic Date: Thu, 13 Feb 2020 14:31:17 -0500 Subject: [PATCH 4/6] Update Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst Co-Authored-By: Victor Stinner --- .../next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst b/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst index 34f2677df52e2ba..913c8ccb1c21c1e 100644 --- a/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst +++ b/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst @@ -1,2 +1,2 @@ -The :mod:`importlib` module now ignore the :envvar:`PYTHONCASEOK` -environment variable when :option:`-E` or :option:`-I` command line option is used. \ No newline at end of file +The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` +environment variable when :option:`-E` or :option:`-I` command line option is used. From 9caee6bc5ee3586db9a9a16433483fe7c99b7c64 Mon Sep 17 00:00:00 2001 From: Ido Michael Date: Sun, 16 Feb 2020 13:23:24 -0500 Subject: [PATCH 5/6] [bpo-39128] Added Happy Eyeballs Algorithm description + Reset to master --- Doc/library/asyncio-eventloop.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 3acd79d28358008..d60a6ce95cdd87c 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -451,6 +451,17 @@ Opening network connections Added the *happy_eyeballs_delay* and *interleave* parameters. + Happy Eyeballs Algorithm: Success with Dual-Stack Hosts. + When a server's IPv4 path and protocol are working, but the server's + IPv6 path and protocol are not working, a dual-stack client + application experiences significant connection delay compared to an + IPv4-only client. This is undesirable because it causes the dual- + stack client to have a worse user experience. This document + specifies requirements for algorithms that reduce this user-visible + delay and provides an algorithm. + + For more information: https://tools.ietf.org/html/rfc6555 + .. versionadded:: 3.7 The *ssl_handshake_timeout* parameter. From 4be42f0705cc8531c728519a1d4988129571675a Mon Sep 17 00:00:00 2001 From: Ido Michael Date: Sun, 16 Feb 2020 16:15:37 -0500 Subject: [PATCH 6/6] Removed residues --- Lib/importlib/_bootstrap_external.py | 2 +- .../next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index 13f0191839cda41..2434cf06fd44445 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -35,7 +35,7 @@ def _make_relax_case(): def _relax_case(): """True if filenames must be checked case-insensitively.""" - return not sys.flags.ignore_environment and key in _os.environ + return key in _os.environ else: def _relax_case(): """True if filenames must be checked case-insensitively.""" diff --git a/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst b/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst deleted file mode 100644 index 913c8ccb1c21c1e..000000000000000 --- a/Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst +++ /dev/null @@ -1,2 +0,0 @@ -The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` -environment variable when :option:`-E` or :option:`-I` command line option is used.