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/20180104/2760f5ff/attachment.html below:

<div dir="ltr">We should interview you for the paper we may be writing for HOPL.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 6:05 PM, Neil Schemenauer <span dir="ltr"><<a href="mailto:nas-python@arctrix.com" target="_blank">nas-python@arctrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018-01-03, Guido van Rossum wrote:<br>
> I'm sorry, I don't think more research can convince me either way.<br>
> I want all three of return/break/continue to work inside finally<br>
> clauses, despite there being few use cases.<br>
<br>
</span>That's fine.  The history of 'continue' inside 'finally' is<br>
interesting.  The restriction dates back to at least when Jeremy<br>
committed the AST-based compiler (I have fond memories of hacking on<br>
it with Armin Rigo and others at a Python core sprint).  Going<br>
further back, I looked at 1.5.2 and there is the comment in<br>
compile.c:<br>
<br>
  Â  TO DO:<br>
  Â  ...<br>
  Â  XXX Allow 'continue' inside try-finally<br>
<br>
So if we allow 'continue' we will be knocking off a nearly 20 year<br>
old todo item. ;-)<br>
<br>
For giggles, I unpacked a Python 0.9.1 tarball.  The source code is<br>
all under 'src' in that version.  There doesn't seem to be a<br>
restriction on 'continue' but only because the grammar doesn't<br>
include it!  Without doing more research, I think the restriction<br>
could be as old as the 'continue' keyword.<br>
<br>
BTW, the bytecode structure for try/except shown in the compile.c<br>
comments is very simlar to what is currently generated.  It is quite<br>
remarkable how well your initial design and implementation have stood<br>
the test of time.  Thank you for making it open source.<br>
<br>
Regards,<br>
<br>
  Neil<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</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