I noticed that in Python2 when I try to dump the exception stack trace, but there\'s no active exception, it prints None:
None
Python 2.7.2+ (default
That is a bug. It might be decided that an error should be raised, but that is definitely the wrong error.