summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index d89e5e9..4d03229 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1471,6 +1471,9 @@ err_input(perrdetail *err)
break;
}
}
+ if (msg == NULL)
+ msg = "unknown decode error";
+ break;
}
default:
fprintf(stderr, "error=%d\n", err->error);