Antoine Pitrou added the comment: I wouldn't call it a bug in Numpy (a quirk perhaps?). Numpy ints are fixed-width ints, so some of them can inherit from Python int in 2.x, but not in 3.x. But not all of them do, since the bitwidth can be different:
>>> issubclass(np.int64, int) True >>> issubclass(np.int32, int) False >>> issubclass(np.int16, int) False ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24313> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com