[New-bugs-announce] [issue13252] new decumulate() function in itertools module
Carlo Verre
report at bugs.python.org
Mon Oct 24 00:32:48 CEST 2011
New submission from Carlo Verre <carlo.verre at gmail.com>:
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.
----------
components: Extension Modules
files: decumulate.py
messages: 146263
nosy: carlo.verre, rhettinger
priority: normal
severity: normal
status: open
title: new decumulate() function in itertools module
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file23507/decumulate.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13252>
_______________________________________
More information about the New-bugs-announce
mailing list