Implicit conversions to bool + np.bool_ conversion (#925)
This adds support for implicit conversions to bool from Python types with `__bool__` (Python 3) or `__nonzero__` (Python 2) attributes, and adds direct (i.e. non-converting) support for numpy bools.
Showing
Please
register
or
sign in
to comment