gregory p smith amuhkryptoorg bytes objects definition immutable read passing one buffer api tries use pybuf_lock flag raises buffererror lock object pybuffer_fillinfo objectsabstractc called objectsbytesobjectcs bytes_getbuffer method think problem 0 0 intended pybuffer_fillinfo objectsabstractc revision 61375 objectsabstractc working copy 6737 6737 view null return 0 flags pybuf_lock pybuf_lock readonly 0 readonly 0 pyerr_setstringpyexc_buffererror lock object return 1 tests pass patch applied gps wed 06 aug 2008 032042 0500 python3000 pybuf_lock fails bytes objects theyre readonly fail