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 ncoghlan
Recipients carlo.verre, ncoghlan, petri.lehtinen, rhettinger
Date 2011-10-24.10:45:04
SpamBayes Score 2.157544e-05
Marked as misclassified No
Message-id <1319453105.57.0.717854970654.issue13252@psf.upfronthosting.co.za>
In-reply-to
Content
OK, looking at the code I realised what you're trying to get at is the idea of reporting the differences between values in a series, such that:

x = list(accumulate(seq))
assert x == list(accumulate(differences(x)))

I don't think the use cases are there to justify the addition (not every iterator we can think of should be a building block in itertools), but if such a thing were to be added, "differences" would convey the intention significantly better than the invented term "decumulate".
History
Date User Action Args
2011-10-24 10:45:05ncoghlansetrecipients: + ncoghlan, rhettinger, petri.lehtinen, carlo.verre
2011-10-24 10:45:05ncoghlansetmessageid: <1319453105.57.0.717854970654.issue13252@psf.upfronthosting.co.za>
2011-10-24 10:45:04ncoghlanlinkissue13252 messages
2011-10-24 10:45:04ncoghlancreate