Breaking ground for PEP 3137 implementation:
Get rid of buffer(). Use memoryview() in its place where possible.
In a few places, do things a bit different, because memoryview()
can't slice (yet).
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 9179a42..cafffdc 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1787,8 +1787,7 @@
SETBUILTIN("True", Py_True);
SETBUILTIN("basestring", &PyBaseString_Type);
SETBUILTIN("bool", &PyBool_Type);
- SETBUILTIN("buffer", &PyBuffer_Type);
- SETBUILTIN("memoryview", &PyMemoryView_Type);
+ SETBUILTIN("memoryview", &PyMemoryView_Type);
SETBUILTIN("bytes", &PyBytes_Type);
SETBUILTIN("classmethod", &PyClassMethod_Type);
#ifndef WITHOUT_COMPLEX