Skip to content

Instantly share code, notes, and snippets.

@ironpythonbot
Created December 9, 2014 17:58
Show Gist options
  • Save ironpythonbot/0ef556963b00aed94317 to your computer and use it in GitHub Desktop.
Save ironpythonbot/0ef556963b00aed94317 to your computer and use it in GitHub Desktop.
CodePlex Issue #32332 Plain Text Attachments
import sys
print 'NameError:'
try:
try:
nonex
except NameError:
print sys.exc_traceback
raise
except:
print sys.exc_traceback
print 'ImportError:'
try:
try:
import nonex
except ImportError:
print sys.exc_traceback
raise
except:
print sys.exc_traceback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment