[Python-3000] PEP 3137: Immutable Bytes and Mutable Buffer

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 28 03:39:37 CEST 2007


Nick Coghlan wrote:
> However, I do think it may be worth having an additional iterator on 
> bytes and buffer objects:
> 
>    def fragments(self, size=1): # Could do with a better name

I suggest dice(). :-)

-- 
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