[issue27852] itertools -> flatten_all()

Serhiy Storchaka report at bugs.python.org
Thu Aug 25 12:46:38 EDT 2016


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 <report at bugs.python.org>
<https://bugs.python.org/issue27852>
_______________________________________


More information about the Python-bugs-list mailing list