[Python-ideas] PEP 479: Change StopIteration handling inside generators
Chris Angelico
rosuav at gmail.com
Wed Nov 19 04:37:28 CET 2014
On Wed, Nov 19, 2014 at 1:56 PM, Guido van Rossum <guido at python.org> wrote:
> The only thing standing in the way of fixing this is the recognition that
> there may be a fair amount of code out there that depends on this hack, and
> which will have to be rewritten.
Has anyone come across any more non-trivial examples? We have
contextlib (in the standard library) and contextlib2 (third-party),
plus a number of StackOverflow posts and such. Are there any other
known pieces of code that would be seriously hampered by this change?
ChrisA
More information about the Python-ideas
mailing list