Re: [Python-ideas] Revert "RuntimeError: generator raised StopIteration"

2018-09-17 Thread Ethan Furman
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

[Python-ideas] Revert "RuntimeError: generator raised StopIteration"

2018-09-17 Thread Danilo J. S. Bellini
Hi, The idea is simple: restore the "next" built-in and the "StopIteration" propagation behavior from Python 3.6. I'm using Python 3.7 for a while (as it's the default in Arch Linux), and there's one single backwards incompatible change from Python 3.6 that is breaking the code of some packages