Commit 174a8a07 authored by Stefan Behnel's avatar Stefan Behnel

disable broken 'print' statement for now (PyFile_* went missing)

parent b2542387
...@@ -3775,6 +3775,7 @@ static int __Pyx_PrintItem(PyObject *v) { ...@@ -3775,6 +3775,7 @@ static int __Pyx_PrintItem(PyObject *v) {
if (!(f = __Pyx_GetStdout())) if (!(f = __Pyx_GetStdout()))
return -1; return -1;
#if PY_MAJOR_VERSION < 3
if (PyFile_SoftSpace(f, 1)) { if (PyFile_SoftSpace(f, 1)) {
if (PyFile_WriteString(" ", f) < 0) if (PyFile_WriteString(" ", f) < 0)
return -1; return -1;
...@@ -3789,6 +3790,7 @@ static int __Pyx_PrintItem(PyObject *v) { ...@@ -3789,6 +3790,7 @@ static int __Pyx_PrintItem(PyObject *v) {
s[len-1] != ' ') s[len-1] != ' ')
PyFile_SoftSpace(f, 0); PyFile_SoftSpace(f, 0);
} }
#endif
return 0; return 0;
} }
...@@ -3797,9 +3799,11 @@ static int __Pyx_PrintNewline(void) { ...@@ -3797,9 +3799,11 @@ static int __Pyx_PrintNewline(void) {
if (!(f = __Pyx_GetStdout())) if (!(f = __Pyx_GetStdout()))
return -1; return -1;
#if PY_MAJOR_VERSION < 3
if (PyFile_WriteString("\n", f) < 0) if (PyFile_WriteString("\n", f) < 0)
return -1; return -1;
PyFile_SoftSpace(f, 0); PyFile_SoftSpace(f, 0);
#endif
return 0; return 0;
} }
"""] """]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment