[Lldb-commits] [lldb] r257409 - Don't define Bytes and String to be the same number on Py2.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 11 15:10:32 PST 2016
Author: zturner
Date: Mon Jan 11 17:10:32 2016
New Revision: 257409
URL: http://llvm.org/viewvc/llvm-project?rev=257409&view=rev
Log:
Don't define Bytes and String to be the same number on Py2.
This is causing issues with case labels having the same value.
Modified:
lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h?rev=257409&r1=257408&r2=257409&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h Mon Jan 11 17:10:32 2016
@@ -74,11 +74,7 @@ enum class PyObjectType
Dictionary,
List,
String,
-#if PY_MAJOR_VERSION >= 3
Bytes,
-#else
- Bytes = String,
-#endif
Module,
Callable,
Tuple,
More information about the lldb-commits
mailing list