[Python-3000-checkins] r56284 - python/branches/py3k-struni/Modules/_ctypes/_ctypes.c

thomas.heller python-3000-checkins at python.org
Wed Jul 11 22:02:35 CEST 2007


Author: thomas.heller
Date: Wed Jul 11 22:02:35 2007
New Revision: 56284

Modified:
   python/branches/py3k-struni/Modules/_ctypes/_ctypes.c
Log:
Must create heaptypes with unicode names.

Modified: python/branches/py3k-struni/Modules/_ctypes/_ctypes.c
==============================================================================
--- python/branches/py3k-struni/Modules/_ctypes/_ctypes.c	(original)
+++ python/branches/py3k-struni/Modules/_ctypes/_ctypes.c	Wed Jul 11 22:02:35 2007
@@ -3985,11 +3985,7 @@
 #endif
 
 	result = PyObject_CallFunction((PyObject *)&ArrayType_Type,
-#if (PY_VERSION_HEX < 0x02050000)
-				       "s(O){s:i,s:O}",
-#else
-				       "s(O){s:n,s:O}",
-#endif
+				       "U(O){s:n,s:O}",
 				       name,
 				       &Array_Type,
 				       "_length_",


More information about the Python-3000-checkins mailing list