reminder comment: need to disable C-API mapping for dict.keys/values/items() in ...
authorStefan Behnel <scoder@users.berlios.de>
Sun, 7 Nov 2010 17:30:55 +0000 (18:30 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 7 Nov 2010 17:30:55 +0000 (18:30 +0100)
Cython/Compiler/Builtin.py

index a5503d1c2d910838f0987533b2438a8edf8a7deb..c67175bdc82307ab32b1e82f54de8c630cdaaa28 100644 (file)
@@ -442,9 +442,9 @@ builtin_types_table = [
                                     BuiltinMethod("append",  "TO",   "i", "PyList_Append"),
                                     ]),
 
-    ("dict",    "PyDict_Type",     [BuiltinMethod("items", "T",   "O", "PyDict_Items"),
-                                    BuiltinMethod("keys",  "T",   "O", "PyDict_Keys"),
-                                    BuiltinMethod("values","T",   "O", "PyDict_Values"),
+    ("dict",    "PyDict_Type",     [BuiltinMethod("items", "T",   "O", "PyDict_Items"),  # FIXME: Py3 mode?
+                                    BuiltinMethod("keys",  "T",   "O", "PyDict_Keys"),   # FIXME: Py3 mode?
+                                    BuiltinMethod("values","T",   "O", "PyDict_Values"), # FIXME: Py3 mode?
                                     BuiltinMethod("copy",  "T",   "T", "PyDict_Copy")]),
 
     ("slice",   "PySlice_Type",    []),