GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause

[Python-Dev] 'continue'/'break'/'return' inside 'finally' clause

Guido van Rossum gvanrossum at gmail.com
Thu Dec 28 09:38:15 EST 2017

  • Previous message (by thread): [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
  • Next message (by thread): [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Looks to me the prohibition was to prevent a crash. It makes more sense to
fix it.

On Dec 28, 2017 03:39, "Serhiy Storchaka" <storchaka at gmail.com> wrote:

Currently 'continue' is prohibited inside 'finally' clause, but 'break' and
'return' are allowed. What is the r

'continue' was prohibited in https://bugs.python.org/issue1542451. Should
we prohibit also 'break' and 'return' or allow
'continue'? 'break' and 'return' are never used inside 'finally' clause in
the stdlib.

_______________________________________________
Python-Dev mailing list
Python-Dev at python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/guido%
40python.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171228/d0314704/attachment.html>

  • Previous message (by thread): [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
  • Next message (by thread): [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.