On 09/17/2018 11:06 AM, Danilo J. S. Bellini wrote:

The idea is simple: restore the "next" built-in and the "StopIteration" 
propagation behavior from Python 3.6.

Unlikely to happen. In 3.6 a deprecation warning started being issued for next inside generators that said it would raise a different exception in 3.7 [1].

--
~Ethan~


[1] PEP 479: https://docs.python.org/3/whatsnew/3.5.html#whatsnew-pep-479
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to