[Python-3000] Immutable bytes type and bsddb or other IO

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 24 05:40:54 CEST 2007


Gregory P. Smith wrote:
> Wasn't a past mailing list thread claiming the bytes type was supposed
> to be great for IO?  How's that possible unless we add a lock to the
> bytesobject?

Doesn't the new buffer protocol provide something for
getting a locked view of the data? If so, it seems like
bytes should implement that.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-3000 mailing list