Commit 1e10cdfd authored by Robert Bradshaw's avatar Robert Bradshaw

Remove bool builtin name.

parent 41d9750c
...@@ -88,7 +88,11 @@ builtin_types_table = [ ...@@ -88,7 +88,11 @@ builtin_types_table = [
("type", "PyType_Type", []), ("type", "PyType_Type", []),
("bool", "PyBool_Type", []), # This conflicts with the C++ bool type, and unfortunately
# C++ is too liberal about PyObject* <-> bool conversions,
# resulting in unintuitive runtime behavior and segfaults.
# ("bool", "PyBool_Type", []),
("int", "PyInt_Type", []), ("int", "PyInt_Type", []),
("long", "PyLong_Type", []), ("long", "PyLong_Type", []),
("float", "PyFloat_Type", []), ("float", "PyFloat_Type", []),
......
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