Skip to content

Instantly share code, notes, and snippets.

@ironpythonbot
Created December 9, 2014 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ironpythonbot/2ee2ba4b9dbc68dc8c95 to your computer and use it in GitHub Desktop.
Save ironpythonbot/2ee2ba4b9dbc68dc8c95 to your computer and use it in GitHub Desktop.
CodePlex Issue #34186 Plain Text Attachments
def f(j):
raise Exception("test")
for j in range(1000):
try:
f(j)
except:
continue
print "finished"
class Continue(Exception):
pass
def f(j):
raise Exception("test")
for j in range(1000):
try:
try:
f(j)
except:
raise Continue()
except Continue:
pass
print "finished"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment