From 87a918a0035da576207b85b6844f64fbb9b4c0af Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 8 Jul 2019 12:30:24 -0400 Subject: [PATCH] [3.7] bpo-37500: update Misc/NEWS entries to mention revert --- Misc/NEWS.d/3.7.4rc1.rst | 2 +- .../Core and Builtins/2019-07-08-12-28-26.bpo-37500.2OjTir.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Core and Builtins/2019-07-08-12-28-26.bpo-37500.2OjTir.rst diff --git a/Misc/NEWS.d/3.7.4rc1.rst b/Misc/NEWS.d/3.7.4rc1.rst index 2706d9d5665f..963cdca64d2f 100644 --- a/Misc/NEWS.d/3.7.4rc1.rst +++ b/Misc/NEWS.d/3.7.4rc1.rst @@ -131,7 +131,7 @@ ensure GC-ed objects are aligned properly. Patch by Inada Naoki. A :exc:`SyntaxError` is now raised if a code blocks that will be optimized away (e.g. if conditions that are always false) contains syntax errors. -Patch by Pablo Galindo. +Patch by Pablo Galindo. (Reverted in 3.7.4 final by :issue:`37500`.) .. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-07-08-12-28-26.bpo-37500.2OjTir.rst b/Misc/NEWS.d/next/Core and Builtins/2019-07-08-12-28-26.bpo-37500.2OjTir.rst new file mode 100644 index 000000000000..2472ef91613d --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-07-08-12-28-26.bpo-37500.2OjTir.rst @@ -0,0 +1,3 @@ +Due to unintended side effects, revert the change introduced by +:issue:`1875` in 3.7.4rc1 to check for syntax errors in dead conditional +code blocks. -- 2.47.3