[pypy-issue] [issue785] Reduce-like functions for micronumpy

Fijal tracker at bugs.pypy.org
Mon Jul 11 12:14:21 CEST 2011


Fijal <fijall at gmail.com> added the comment:

A bit of nitpicking (I can fix it myself).

_reduce_any_all_impl is returning an impl which is almost entirely different 
depending on a flag, it's also called once with flag = True and once with False.

Wouldn't it be simpler to just have descr_any and descr_all as separate 
functions without all the metaprogramming?

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue785>
________________________________________


More information about the pypy-issue mailing list