Author: Armin Rigo <ar...@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. */ _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit