Aha, with Jason's answer: Calling isinstance(x,int) on a python x is cheating, because Cython replaces it with PyInt_Check (no inheritance to check!).
Calling isinstance on a C variable x goes through IS_INSTANCE which builds an unnecessary python boolean. -- 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
