summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-01-26 20:24:24 (GMT)
committerGitHub <noreply@github.com>2018-01-26 20:24:24 (GMT)
commit43c47fe09640c579462978ec16f81295f5857cde (patch)
tree6a1524a805eb5d181acc04552bfb1a09ea736e39 /Misc
parentdba976b8a28d6e5daa66ef31a6a7c694a9193f6a (diff)
downloadcpython-43c47fe09640c579462978ec16f81295f5857cde.zip
cpython-43c47fe09640c579462978ec16f81295f5857cde.tar.gz
cpython-43c47fe09640c579462978ec16f81295f5857cde.tar.bz2
bpo-32670: Enforce PEP 479. (#5327)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-01-25-17-03-46.bpo-32670.YsqJUC.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-01-25-17-03-46.bpo-32670.YsqJUC.rst b/Misc/NEWS.d/next/Core and Builtins/2018-01-25-17-03-46.bpo-32670.YsqJUC.rst
new file mode 100644
index 0000000..b22249b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-01-25-17-03-46.bpo-32670.YsqJUC.rst
@@ -0,0 +1,5 @@
+Enforce PEP 479 for all code.
+
+This means that manually raising a StopIteration exception from a generator
+is prohibited for all code, regardless of whether 'from __future__ import
+generator_stop' was used or not.