On 22 November 2017 at 19:54, Jelle Zijlstra <jelle.zijlstra at gmail.com> wrote: > > One proposal is to make it so `g` gets assigned a list, and the `yield` > happens in the enclosing scope (so the enclosing function would have to be > a generator). This was the way things worked in Python 2, I believe. > > Another proposal is to make this code a syntax error, because it's > confusing either way. (For what it's worth, that would be my preference.) > > Concerning this two options it looks like me and Serhiy like the first one, Paul is undecided (), and Antoine is in favor of option 2. -- Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171122/96b58ab6/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4