[Python-Dev] PEP 467: last round (?)

Serhiy Storchaka storchaka at gmail.com
Sat Sep 10 06:52:13 EDT 2016


On 01.09.16 22:36, Ethan Furman wrote:
> * Add ``bytes.iterbytes`` and ``bytearray.iterbytes`` alternative iterators

Could you please add a mention of alternative: seqtools.chunks()? 
seqtools.chunks(bytes, 1) and seqtools.chunks(bytearray, 1) should be 
equivalent to bytes.iterbytes() and bytearray.iterbytes() (but this 
function is applicable to arbitrary sequences, including memoryview and 
array).

Is there a need of a PEP for new seqtools module (currently two classes 
are planned), or just providing sample implementation on the bugtracker 
would be enough?



More information about the Python-Dev mailing list