Steven Bethard wrote:
Peter Hansen wrote:
Of course, most of the other definitions of "is a number" that have been posted may likewise fail (defined as not doing what the OP would have wanted, in this case) with a numarray arange.
How about explicitly calling an adapter in your function, e.g.?
Yup, that's basically what I'm doing right now. The question was really how to define that adapter function. =)
Steve -- http://mail.python.org/mailman/listinfo/python-list