This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author carlo.verre
Recipients carlo.verre, rhettinger
Date 2011-10-23.22:32:47
SpamBayes Score 3.9457747e-05
Marked as misclassified No
Message-id <1319409168.22.0.462760902888.issue13252@psf.upfronthosting.co.za>
In-reply-to
Content
After in Python 3.2 the accumulate() function has been added to itertools module, for self-evident reasons of completeness and symmetry we could add in 3.3 the inverse decumulate() function, which, given the iterable argument p, yields p[0], p[1] - p[0], p[2] - p[1]... Its equivalent python form is in the attached file decumulate.py, below.
History
Date User Action Args
2011-10-23 22:32:48carlo.verresetrecipients: + carlo.verre, rhettinger
2011-10-23 22:32:48carlo.verresetmessageid: <1319409168.22.0.462760902888.issue13252@psf.upfronthosting.co.za>
2011-10-23 22:32:47carlo.verrelinkissue13252 messages
2011-10-23 22:32:47carlo.verrecreate