Make Python compile with --disable-unicode.
diff --git a/Python/ast.c b/Python/ast.c
index b084e01..ddcd0a0 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -1246,6 +1246,7 @@
case STRING: {
PyObject *str = parsestrplus(c, n);
if (!str) {
+#ifdef Py_USING_UNICODE
if (PyErr_ExceptionMatches(PyExc_UnicodeError)){
PyObject *type, *value, *tback, *errstr;
PyErr_Fetch(&type, &value, &tback);
@@ -1263,6 +1264,7 @@
Py_DECREF(value);
Py_XDECREF(tback);
}
+#endif
return NULL;
}
PyArena_AddPyObject(c->c_arena, str);