As I mention below, I mistook the function from my utilities file for a
Python built-in; here's the implementation:

#def isnumber(x):
#    "Is x a number? We say it is if it has an __int__ method."
#    return hasattr(x, '__int__')

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to