New submission from Azat Ishmukhametovich Ibrakov <azatibra...@gmail.com>:
Why there is an optional `initial` parameter for `functools.reduce` function, but there is no such for `itertools.accumulate`, when they both are doing kind of similar things except that `itertools.accumulate` yields intermediate results and `functools.reduce` only the final one? ---------- components: Library (Lib) messages: 325243 nosy: lycantropos priority: normal severity: normal status: open title: Inconsistency between functools.reduce & itertools.accumulate type: enhancement versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34659> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com