Author: Matti Picus <matti.pi...@gmail.com> Branch: more-cpyext Changeset: r97443:454d7d902ed4 Date: 2019-09-11 10:11 -0500 http://bitbucket.org/pypy/pypy/changeset/454d7d902ed4/
Log: cpython compatibility diff --git a/pypy/module/cpyext/include/Python.h b/pypy/module/cpyext/include/Python.h --- a/pypy/module/cpyext/include/Python.h +++ b/pypy/module/cpyext/include/Python.h @@ -62,14 +62,6 @@ #define Py_USING_UNICODE -/* Convert a possibly signed character to a nonnegative int */ -/* XXX This assumes characters are 8 bits wide */ -#ifdef __CHAR_UNSIGNED__ -#define Py_CHARMASK(c) (c) -#else -#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff)) -#endif - #define statichere static #define Py_MEMCPY memcpy _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit