[issue10293] PyMemoryView object has obsolete members

Antoine Pitrou report at bugs.python.org
Thu Nov 4 21:24:21 CET 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

Well, there's this strange-looking thing in PyMemoryView_GetContiguous:

    if (buffertype == PyBUF_SHADOW) {
        /* return a shadowed memory-view object */
        view->buf = dest;
        mem->base = PyTuple_Pack(2, obj, bytes);

... but I don't really want to bother. Let's remove it.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list