diff options
author | Travis E. Oliphant <oliphant@enthought.com> | 2008-06-06 20:52:38 (GMT) |
---|---|---|
committer | Travis E. Oliphant <oliphant@enthought.com> | 2008-06-06 20:52:38 (GMT) |
commit | 3900088cb6d70769c7905ea0afa8b6f161186fde (patch) | |
tree | 7cb5be0660b0801312b26202635b24f9e977cf73 /Objects/memoryobject.c | |
parent | b2750b5d334e9c8d262009069bce41c15803eca0 (diff) | |
download | cpython-3900088cb6d70769c7905ea0afa8b6f161186fde.zip cpython-3900088cb6d70769c7905ea0afa8b6f161186fde.tar.gz cpython-3900088cb6d70769c7905ea0afa8b6f161186fde.tar.bz2 |
Remove locking from buffer protocol as-per discussion.
Diffstat (limited to 'Objects/memoryobject.c')
-rw-r--r-- | Objects/memoryobject.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c index 27ceb7a..9bb1697 100644 --- a/Objects/memoryobject.c +++ b/Objects/memoryobject.c @@ -230,9 +230,6 @@ PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char fort) case PyBUF_WRITE: flags = PyBUF_FULL; break; - case PyBUF_SHADOW: - flags = PyBUF_FULL_XLCK; - break; } if (PyObject_GetBuffer(obj, view, flags) != 0) { |