[issue32321] functools.reduce has a redundant guard or needs a pure Python fallback

STINNER Victor report at bugs.python.org
Thu Oct 25 10:10:34 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

I just merged PR 8548. See the PR to the discussion. IMHO it's a nice enhancement to have a pure Python implementation:
https://github.com/python/cpython/pull/8548#issuecomment-433063178
(and the PR has been approved by 2 other core devs ;-))

But I'm against adding it to Python 3.7 as well, I rejected the backport: PR 10092.

I proposed the author to write another PR to refactor test_functools.py, but I don't think that it's worth it to keep this issue open just for that:
https://github.com/python/cpython/pull/8548#issuecomment-433065931

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.8 -Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32321>
_______________________________________


More information about the Python-bugs-list mailing list