def is_number(s):
    try:
        int(s)
        return True
    except TypeError:
        pass
    except ValueError:
        pass
    return False
Returns the filename of the lock.
dataset/ETHPy150Open klipstein/dojango/dojango/util/__init__.py/is_number--crossover with--dataset/ETHPy150Open onitu/onitu/drivers/flickr/onitu_flickr/flickrapi/tokencache.py/LockingTokenCache.get_lock_name