From: Todd M. <jm...@st...> - 2003-07-17 11:11:57
|
On Thu, 2003-07-17 at 06:44, Dave Cole wrote: > >>>>> "Todd" == Todd Miller <jm...@st...> writes: > > Todd> I don't understand the difference between your module and > Todd> Python's mmap. > > >> The code could use probably the Python mmap module. It would be > >> difficult because all access to the Python mmap object is via > >> Python. > >> > >> A CObject exported API in the Python mmap module would be very > >> useful. > >> > > Todd> What do you want to get via the CObject API? Since any mmap can > Todd> be treated as a buffer, it's easy to get a pointer and size via > Todd> the Python buffer API in C. Is there something else you need? > > Nope. I wonder why I didn't realise that... Too stupid I suppose. I doubt that or you wouldn't be using Python... The buffer API is just a little obscure. > > - Dave -- Todd Miller <jm...@st...> |