New submission from Oren Tirosh <[email protected]>: import numpypy l=[numpypy.int_(0)] # or other subclasses of numpypy.number
l.remove(object()) Expected: "ValueError: list.remove(x): x not in list" Got: "TypeError: expected float, got object object" l.remove([]) Expected: "ValueError: list.remove(x): x not in list" Got: No error. ---------- messages: 6015 nosy: orent, pypy-issue priority: bug status: unread title: list.remove chokes on numpypy types ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1570> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
