Mark Dickinson <dicki...@gmail.com> added the comment: Are you positive that your 'all' is the builtin Python 'all'? NumPy's 'all' function would behave the way you describe:
>>> all(x < 3 for x in range(5)) False >>> from numpy import all >>> all(x < 3 for x in range(5)) True What does all.__module__ give? ---------- nosy: +mark.dickinson _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11221> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com