commit | 43b15097ccdb8cbfaf03a8705730cd5d7ab413fd | [log] [tgz] |
---|---|---|
author | Kurt B. Kaiser <kbk@shore.net> | Sat Jan 05 04:32:22 2008 +0000 |
committer | Kurt B. Kaiser <kbk@shore.net> | Sat Jan 05 04:32:22 2008 +0000 |
tree | fd7b864e1cb715324831cc21a211a6c42fca541d | |
parent | 4c3eda3a847c927bc1594de70b2bf9d27975c8ba [diff] [blame] |
Interpreter wasn't displaying the location of a SyntaxError Issue1692
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f95ea83..faacb44 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c
@@ -1103,7 +1103,7 @@ goto finally; if (v == Py_None) *filename = NULL; - else if (! (*filename = PyString_AsString(v))) + else if (! (*filename = PyUnicode_AsString(v))) goto finally; Py_DECREF(v);