Serhiy Storchaka added the comment: In proposed implementation str and bytes are not flattened. What about bytearray? array.array? memoryview? For different tasks they can be considered atomic or as collections. There are such much task specific details and the implementation is such simple, that I think there is no need add this function in itertools. And due to this details it may be not worth to add it as a recipe.
---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27852> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com