Author rhettinger
Recipients ezio.melotti, jstasiak, python-dev, rhettinger, serhiy.storchaka, techtonik, terry.reedy
Date 2013-09-08.19:36:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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).
Date User Action Args
2013-09-08 19:36:38rhettingersetrecipients: + rhettinger, terry.reedy, techtonik, ezio.melotti, python-dev, serhiy.storchaka, jstasiak
2013-09-08 19:36:38rhettingersetmessageid: <>
2013-09-08 19:36:38rhettingerlinkissue17862 messages
2013-09-08 19:36:38rhettingercreate