[Numpy-discussion] int is a subtype of bool?

Nathaniel Smith njs at pobox.com
Wed Feb 9 18:07:01 EST 2011


This can't possibly be right, can it? Or am I missing something? (It
certainly doesn't seem to match any documentation that I can find)

>>> np.issubdtype(int, bool)
True
>>> np.__version__
'1.5.1'

-- Nathaniel



More information about the NumPy-Discussion mailing list