[issue26136] DeprecationWarning for PEP 479 (generator_stop)

Martin Panter report at bugs.python.org
Sat Jan 16 22:31:19 EST 2016


New submission from Martin Panter:

PEP 479 says “Python 3.6: Non-silent deprecation warning” if “StopIteration bubbles out of a generator not under __future__ import”. Currently I see a PendingDeprecationWarning in this case; I guess this should be changed to DeprecationWarning in the 3.6 branch.

----------
components: Interpreter Core
messages: 258448
nosy: martin.panter
priority: normal
severity: normal
stage: needs patch
status: open
title: DeprecationWarning for PEP 479 (generator_stop)
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26136>
_______________________________________


More information about the Python-bugs-list mailing list