Hi, I propose a tiny patch ([1]) to solve several problems that appear on that list about comparisons of Sage integer with numpy.integer (namely [2] and [3]). The main problem is for me {{{ sage: import numpy sage: numpy.int32(1) == 1 True sage: 1 == numpy.int32(1) False }}} The issue was to modify three lines in the comparison method of Sage integers.
Any comment or review welcome! Cheers, Vincent [1] http://trac.sagemath.org/sage_trac/ticket/13386 [2] http://groups.google.com/group/sage-devel/browse_thread/thread/92f7060b17c8ee41/ [3] http://groups.google.com/group/sage-devel/browse_thread/thread/897dada6ac5bb90b -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org