summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-10 04:40:48 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-10 04:40:48 (GMT)
commit7e3a91a5fc056f72c93f015bb9f4f22aef9e72fb (patch)
tree2d71aaeaad3d6536f20338811d806976577ec7bf /Misc
parentb0cb42dfdb422495fb0c3a4374f2fa010f56a5ac (diff)
downloadcpython-7e3a91a5fc056f72c93f015bb9f4f22aef9e72fb.zip
cpython-7e3a91a5fc056f72c93f015bb9f4f22aef9e72fb.tar.gz
cpython-7e3a91a5fc056f72c93f015bb9f4f22aef9e72fb.tar.bz2
Issue #26136: Upgrade the generator_stop warning to DeprecationWarning
Patch by Anish Shah.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6ce7e2d..7912790 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: tba
Core and Builtins
-----------------
+- Issue #26136: Upgrade the warning when a generator raises StopIteration
+ from PendingDeprecationWarning to DeprecationWarning. Patch by Anish
+ Shah.
+
- Issue #26204: The compiler now ignores all constant statements: bytes, str,
int, float, complex, name constants (None, False, True), Ellipsis
and ast.Constant; not only str and int. For example, ``1.0`` is now ignored