Created
October 15, 2013 06:11
-
-
Save admalledd/6987242 to your computer and use it in GitHub Desktop.
pypy3 traceback issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import traceback | |
try: | |
raise Exception("fail") | |
except Exception as e: | |
traceback.print_tb(e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no bug here -- print_tb takes an actual traceback, not an exception. E.g. traceback.print_tb(e.traceback)