Archives July 8, 2009

Python 2.6+ buffer protocol...

Been playing around with the Python 2.6+ buffer protocol this morning.  Notes:

  • it appears that ctypes could support buffer-supporting objects being passed as pointers natively (i.e. at C speed), but it doesn't seem to (at least with my cursory tests) there would likely be a lot of corner cases that would need to throw errors ...

Continue reading

Previous day

July 4, 2009

Next day

July 10, 2009

Archives