Author: Matti Picus <[email protected]>
Branch: numpy-includes
Changeset: r84786:91574ce1cc63
Date: 2016-05-28 20:52 +0300
http://bitbucket.org/pypy/pypy/changeset/91574ce1cc63/

Log:    we never have PycStringIO, only PyStringIO

diff --git a/pypy/module/cpyext/include/cStringIO.h 
b/pypy/module/cpyext/include/cStringIO.h
--- a/pypy/module/cpyext/include/cStringIO.h
+++ b/pypy/module/cpyext/include/cStringIO.h
@@ -63,9 +63,9 @@
 
 /* These can be used to test if you have one */
 #define PycStringIO_InputCheck(O) \
-  (Py_TYPE(O)==PycStringIO->InputType)
+  (0) /* Py_TYPE(O)==PycStringIO->InputType) */
 #define PycStringIO_OutputCheck(O) \
-  (Py_TYPE(O)==PycStringIO->OutputType)
+  (0) /* Py_TYPE(O)==PycStringIO->OutputType) */
 
 #ifdef __cplusplus
 }
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to