Erik Bray <erik.m.b...@gmail.com> added the comment: > Users might be better off by not seeing an unhelpful error message when > passing in a numpy.int32, or they might be worse-off by having lost a cue > that they were writing inefficient code (which invisibly creates temporary > integer objects on every call when presumably the whole reason for using > numpy was a concern for efficiency).
While it's true there are many Numpy users who don't understand what they're doing, any time they go into the Python interpreter they're losing the benefits of Numpy anyways (which are fast vectorized operations on arrays). ---------- nosy: +erik.bray _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30537> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com