def xrange_params(xrangeobj):
    """Returns a 3 element tuple describing the xrange start, step, and len respectively
    
    Note: Only guarentees that elements of xrange are the same. parameters may be different.    
    e.g. xrange(1,1) is interpretted as xrange(0,0); both behave the same though w/ iteration
    """
    xrange_len = len(xrangeobj)
    if not xrange_len:
        return 0, 1, 0
    start = xrangeobj[0]
    if xrange_len == 1:
        return start, 1, 1
    return start, xrangeobj[1] - xrangeobj[0], xrange_len
