I've opened an enhancement ticket here:
http://trac.sagemath.org/sage_trac/ticket/12554
and given you the credit for the example implementation. My approach used a 
dictionary, but your implementation has the advantage that if an earlier 
test returns True, the additional test logic doesn't have to run.

Joal Heagney

-- 
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-support
URL: http://www.sagemath.org

Reply via email to