def isposinf(a): '''Return true if a is positive infinite, itemwise''' return _cmps.isPositiveInfinite(a)