Message128687
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? |
|
Date |
User |
Action |
Args |
2011-02-16 18:43:46 | mark.dickinson | set | recipients:
+ mark.dickinson, georg.brandl, rhettinger, Jonathan.Livni |
2011-02-16 18:43:46 | mark.dickinson | set | messageid: <1297881826.75.0.393419483988.issue11221@psf.upfronthosting.co.za> |
2011-02-16 18:43:44 | mark.dickinson | link | issue11221 messages |
2011-02-16 18:43:44 | mark.dickinson | create | |
|