A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20171122/dcf2cafd/attachment.html below:

<div dir="ltr">On 22 November 2017 at 20:15, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 22, 2017 at 11:08 AM, Ivan Levkivskyi <span dir="ltr"><<a href="mailto:levkivskyi@gmail.com" target="_blank">levkivskyi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span>On 22 November 2017 at 19:54, Jelle Zijlstra <span dir="ltr"><<a href="mailto:jelle.zijlstra@gmail.com" target="_blank">jelle.zijlstra@gmail.com</a>></span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><span style="font-size:12.8px">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.</span><div class="gmail_quote"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">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.)</span></div><div><span style="font-size:12.8px"><br></span></div></div></div></div></blockquote><div><br></div></span><div>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.</div></div></div></div>
</blockquote></div><br></div></span><div class="gmail_extra">While that may be the right thing to do, it's a silent change in semantics, which I find pretty disturbing -- how would people debug such a failure?</div></div></blockquote><div><br></div><div>Some may call this just fixing a bug (At least in two mentioned Stackoverflow questions and in two b.p.o. issues the current behaviour is considered a bug).</div><div>But anyway, it is not me who decides :-)</div><div><br></div><div>--</div><div>Ivan</div><div><br></div><div><br></div></div><br></div></div>

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