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.
_______________________________________________
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to