Stop ugly sys reimporting (reloading sys has unintended consequences).
@@ -163,10 +163,10 @@ else:
import sys
stdout = sys.stdout
stderr = sys.stderr
- reload(sys)
- sys.stdout = stdout
- sys.stderr = stderr
- sys.setdefaultencoding('utf-8')
+# reload(sys)
+# sys.stdout = stdout
+# sys.stderr = stderr
+# sys.setdefaultencoding('utf-8')
def _create_not_allowed(name):
def _not_allow(*args, **kwargs):
