Skip to content

Instantly share code, notes, and snippets.

@hvnsweeting
Created February 3, 2015 15:20
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 hvnsweeting/f5db74208221e9a9ea69 to your computer and use it in GitHub Desktop.
Save hvnsweeting/f5db74208221e9a9ea69 to your computer and use it in GitHub Desktop.
exception is discarded if break run in finally
def output_test():
for i in xrange(3):
try:
1/0
finally:
break
output_test()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment