Raymond Hettinger added the comment:

If this is to go forward, it needs to be more interesting, useful, and general 
than what was has been discussed so far.  I would be open to some kind of 
reshape() itertool than can ungroup, flatten, and regroup in at least two 
dimensions.  

Ideally, it should be inspired by a successful general-purpose tool from 
another functional or data manipulation language (perhaps APL, Mathematica, 
Matlab, Numpy, or somesuch).

Ideally, the proposal will be accompanied by some non-trivial real-world use 
cases to help validate the design.

Ideally, there should be demonstrations of reshape() interacting effectively 
with the other itertools (i.e. a criterion for adding new Lego bricks is 
whether they work well with all the existing Lego bricks -- that is what makes 
a good Lego set).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17862>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to