Skip to content

Instantly share code, notes, and snippets.

@ironpythonbot
Created September 28, 2013 07:03
Show Gist options
  • Save ironpythonbot/6739371 to your computer and use it in GitHub Desktop.
Save ironpythonbot/6739371 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