Serhiy Storchaka added the comment: > While not required, It'd be useful if the implementation of this pre-scanned > the data internally so that the length of the generated sequence was known up > front. This could imply an internal bitset of vector of split indices is > kept for the life of the generator (implementation detail left up to the > implementor) if scanning over the input data more than once is undesirable.
bytearray can be modified between iterations. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17343> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com