diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2004-07-21 05:34:47 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2004-07-21 05:34:47 (GMT) |
| commit | 7495081c6cd7350e1a664d76757451cfb3f75446 (patch) | |
| tree | fd8d9063b0802ca47109077d80b52cd048f54204 /Python/pythonrun.c | |
| parent | 6e9eeff50e3b973b1b96efc8f3f57322dd2d1f78 (diff) | |
| download | cpython-7495081c6cd7350e1a664d76757451cfb3f75446.zip cpython-7495081c6cd7350e1a664d76757451cfb3f75446.tar.gz cpython-7495081c6cd7350e1a664d76757451cfb3f75446.tar.bz2 | |
Patch #984714: Properly diagnose E_DECODE errors.
Diffstat (limited to 'Python/pythonrun.c')
| -rw-r--r-- | Python/pythonrun.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 3985cd3..5ade365 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1482,6 +1482,9 @@ err_input(perrdetail *err) break; } } + if (msg == NULL) + msg = "unknown decode error"; + break; } default: fprintf(stderr, "error=%d\n", err->error); |
