[Python-ideas] PEP 479: Change StopIteration handling inside generators
Barry Warsaw
barry at python.org
Fri Nov 21 16:53:15 CET 2014
More information about the Python-ideas mailing list
Fri Nov 21 16:53:15 CET 2014
- Previous message: [Python-ideas] PEP 479: Change StopIteration handling inside generators
- Next message: [Python-ideas] PEP 479: Change StopIteration handling inside generators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Nov 21, 2014, at 10:55 PM, Nick Coghlan wrote: >I suspect enough evidence of breakage is accumulating to tip the >balance back to "not worth the hassle", but it would also be possible >to just *add* the "from __future__ import generator_stop" feature, and >postpone a decision on making that the only available behaviour. I have no opinion on the actual PEP, but I'm not sure the above is a good resolution. future imports should be for things that have a clear path to default behavior in some future release. I don't think we should incur technical debt to future-ize a feature that won't eventually get adopted. Such a thing will just be another wart that will be difficult to remove for backward compatibility. Cheers, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141121/f177f66d/attachment.sig>
- Previous message: [Python-ideas] PEP 479: Change StopIteration handling inside generators
- Next message: [Python-ideas] PEP 479: Change StopIteration handling inside generators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list