python: add more information to debug()
diff --git a/bindings/python/capstone/capstone.py b/bindings/python/capstone/capstone.py
index bffd4b5..f0599d5 100644
--- a/bindings/python/capstone/capstone.py
+++ b/bindings/python/capstone/capstone.py
@@ -674,5 +674,7 @@
         if cs_support(archs[k]):
             all_archs += "-%s" %k
 
-    return "python-%s%s" %(diet, all_archs)
+    (major, minor, _combined) = cs_version()
+
+    return "python-%s%s-c%u.%u-b%u.%u" %(diet, all_archs, major, minor, CS_API_MAJOR, CS_API_MINOR)
 
diff --git a/bindings/python/pyx/ccapstone.pyx b/bindings/python/pyx/ccapstone.pyx
index 72cd370..2a048e4 100644
--- a/bindings/python/pyx/ccapstone.pyx
+++ b/bindings/python/pyx/ccapstone.pyx
@@ -280,5 +280,7 @@
         if cc.cs_support(archs[k]):
             all_archs += "-%s" %k
 
-    return "CYTHON-%s%s" %(diet, all_archs)
+    (major, minor, _combined) = capstone.cs_version()
+
+    return "Cython-%s%s-c%u.%u-b%u.%u" %(diet, all_archs, major, minor, capstone.CS_API_MAJOR, capstone.CS_API_MINOR)