reload(sys) could cause problem in user code - ie, sys.stdout, excepthook, and displayhook would be reset, etc