Rémi Lapeyre <remi.lape...@henki.fr> added the comment:

@serhiy.storchaka, it should be possible to make it far simpler if we make 
math_prod_impl more naive by removing the hypothesis made on `iterable` and the 
many fast-paths like builtin_sum_impl() does when SLOW_SUM is defined, right?

A naive implementation would also support user-defined types which would 
probably be a good thing IMO

----------
nosy: +remi.lapeyre

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35606>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to