Commit 78e068b0 authored by Boxiang Sun's avatar Boxiang Sun

revert Pyston's change about PyBoolObject

bool is technically a subclass of int. Revert that Pyston change to support some extensions.
parent a60e8c8d
......@@ -9,10 +9,7 @@ extern "C" {
#endif
// Pyston change: Try to avoid having to support mixing ints and bools
// typedef PyIntObject PyBoolObject;
struct _PyBoolObject;
typedef struct _PyBoolObject PyBoolObject;
typedef PyIntObject PyBoolObject;
// Pyston change: this is no longer a static object
PyAPI_DATA(PyTypeObject*) bool_cls;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment