[Ironpython-users] IronPython, Daily Digest 7/3/2013

CodePlex no_reply at codeplex.com
Thu Jul 4 09:19:57 CEST 2013


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] 'continue' not supported inside 'finally' clause when it should be

----------------------------------------------

ISSUES

1. [New issue] 'continue' not supported inside 'finally' clause when it should be
http://ironpython.codeplex.com/workitem/34225
User jdhardy has proposed the issue:

"Given the following code:
try:
    pass
finally:
    for i in range(1):
        continue

CPython works, but IronPython 2.7.4 gives:
IronPython 2.7.4a2 DEBUG (2.7.0.40) on .NET 4.0.30319.18046 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> try:
...     pass
... finally:
...     for i in range(1):
...         continue
  File "<stdin>", line 5
            continue

            ^
SyntaxError: 'continue' not supported inside 'finally' clause

>>>

Python doesn't allow continue directly under finally, but it does support continue in a loop under finally."
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130704/eec83726/attachment.html>


More information about the Ironpython-users mailing list