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_",
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to