Greg Ewing wrote:
The new buffer protocol is for Python 3.0. I believe it breaks things so will ever be available for the 2.x series.René Dudfield wrote:[G]etting a buffer proxy helps with surface locking semantics. When you get a BufferProxy the surface is locked (which you need to do when you are modifying Surface->pixels - when the BufferProxy is destroyed, the surface lock is released.That's a good reason. Although the new buffer protocol has locking facilities built in, so it wouldn't strictly be needed then.
-- Lenard Lindstrom <len-l@xxxxxxxxx>