[Python-Dev] PEP 3118: Extended buffer protocol (new version) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 20 00:51:49 CEST 2007
- Previous message: [Python-Dev] PEP 3118: Extended buffer protocol (new version)
- Next message: [Python-Dev] PEP 3118: Extended buffer protocol (new version)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Travis Oliphant wrote:
you would like to make the original memory read-only until you are done with the algorithm and have copied the data back into memory.
Okay, I see what you mean now.
Maybe this should be called Py_BUF_LOCK_CONTENTS or something to make the semantics clearer. Otherwise it could mean either that you don't intend to write to it, or that you require nobody ever to write to it.
-- Greg
- Previous message: [Python-Dev] PEP 3118: Extended buffer protocol (new version)
- Next message: [Python-Dev] PEP 3118: Extended buffer protocol (new version)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]