[issue32321] Add pure Python fallback for functools.reduce

2018-10-25 Thread STINNER Victor
STINNER Victor added the comment: > However, the documentation says nothing about reduce being optional, and it > is unconditionally included in the module __all__. Oh, about this specific issue: maybe test___all__ should be fixed to test functools.py with _functools blocked? As done by test

[issue32321] Add pure Python fallback for functools.reduce

2018-10-25 Thread STINNER Victor
Change by STINNER Victor : -- title: functools.reduce has a redundant guard or needs a pure Python fallback -> Add pure Python fallback for functools.reduce ___ Python tracker ___