[pypy-commit] pypy numpy-includes: we never have PycStringIO, only PyStringIO
mattip
pypy.commits at gmail.com
Sat May 28 13:59:54 EDT 2016
Author: Matti Picus <matti.picus at gmail.com>
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
}
More information about the pypy-commit
mailing list