[pypy-commit] pypy py3.5: Remove a define that is very confusing on Python 3

rlamy pypy.commits at gmail.com
Sun Jan 22 13:30:45 EST 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r89690:37af509195dc
Date: 2017-01-22 18:30 +0000
http://bitbucket.org/pypy/pypy/changeset/37af509195dc/

Log:	Remove a define that is very confusing on Python 3

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
@@ -115,8 +115,6 @@
 
 #include <cpyext_typeobject.h>
 
-#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