From 3781aef8f8f992f78b31c7029004fa7b1ada7304 Mon Sep 17 00:00:00 2001 From: "Travis E. Oliphant" Date: Tue, 18 Mar 2008 04:44:57 +0000 Subject: Finish backporting new buffer API to Python 2.6. Left to do: memoryview object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Python 2.6 as of yet, and except for the memoryview object, I don't think they will. --- Python/bltinmodule.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python') diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index fe5cb42cca..8491ed410a 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2474,6 +2474,7 @@ _PyBuiltin_Init(void) SETBUILTIN("True", Py_True); SETBUILTIN("basestring", &PyBaseString_Type); SETBUILTIN("bool", &PyBool_Type); + /* SETBUILTIN("memoryview", &PyMemoryView_Type); */ SETBUILTIN("bytes", &PyString_Type); SETBUILTIN("buffer", &PyBuffer_Type); SETBUILTIN("classmethod", &PyClassMethod_Type); -- cgit v1.2.1