[pypy-commit] pypy default: Add a #define from recent CPython 2.x

arigo noreply at buildbot.pypy.org
Fri Aug 21 21:11:13 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r79127:337ed0dae21f
Date: 2015-08-21 21:11 +0200
http://bitbucket.org/pypy/pypy/changeset/337ed0dae21f/

Log:	Add a #define from recent CPython 2.x

diff --git a/pypy/module/cpyext/include/object.h b/pypy/module/cpyext/include/object.h
--- a/pypy/module/cpyext/include/object.h
+++ b/pypy/module/cpyext/include/object.h
@@ -379,6 +379,8 @@
     PyObject *ht_name, *ht_slots;
 } PyHeapTypeObject;
 
+#define PyObject_Bytes PyObject_Str
+
 /* Flag bits for printing: */
 #define Py_PRINT_RAW	1	/* No string quotes etc. */
 


More information about the pypy-commit mailing list