diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 04:40:48 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 04:40:48 (GMT) |
commit | 7e3a91a5fc056f72c93f015bb9f4f22aef9e72fb (patch) | |
tree | 2d71aaeaad3d6536f20338811d806976577ec7bf /Misc | |
parent | b0cb42dfdb422495fb0c3a4374f2fa010f56a5ac (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |