On 02/14/2015 07:26 PM, Alexander Belopolsky wrote: > In the case of int, there is a good reason for this behavior - bool. In python, > we want True + True == 2. In numpy, where binary operations preserve > subclasses, you have > >>>> import numpy >>>> numpy.bool_(1) + numpy.bool_(1) > True I don't think numpy.bool_ subclasses some class like numpy.int_. Georg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4