Hi there,

many classes in SAGE implement and test for is_zero. I think these methods 
should be replaced with __nonzero__ methods, as this is the standard way of 
doing such a test in Python. For example,  int doesn't have a is_zero(), such 
that one would have to test for a type (of a return value) first. 

I can do it, I just wanted to check beforehand if anybody objects.

Marti
-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to