def get_values(values, itypes, ftypes):
 all = []
 for v in values:
  sv = str(v)
  py = int(v)
  clr = get_clr_values(sv, itypes)
  clr.append(long(py))
  clr.append(myint(py))
  clr.append(mylong(py))
  all.append((py, clr))
  py = long(v)
  clr = get_clr_values(sv, itypes)
  clr.append(py)
  clr.append(myint(py))
  clr.append(mylong(py))
  all.append((py, clr))
  py = float(v)
  clr = get_clr_values(sv, ftypes)
  clr.append(myfloat(py))
  all.append((py, clr))
  for imag in [0j, 1j, (-1j)]:
   py = complex((v + imag))
   all.append((py, [py, mycomplex(py)]))
 all.append((True, [True]))
 all.append((False, [False]))
 return all

def get_values ( values , itypes , ftypes ) : all = [ ] for v in values : sv = str ( v ) py = int ( v ) clr = get_clr_values ( sv , itypes ) clr . append ( long ( py ) ) clr . append ( myint ( py ) ) clr . append ( mylong ( py ) ) all . append ( ( py , clr ) ) py = long ( v ) clr = get_clr_values ( sv , itypes ) clr . append ( py ) clr . append ( myint ( py ) ) clr . append ( mylong ( py ) ) all . append ( ( py , clr ) ) py = float ( v ) clr = get_clr_values ( sv , ftypes ) clr . append ( myfloat ( py ) ) all . append ( ( py , clr ) ) for imag in [ 0j , 1j , ( - 1j ) ] : py = complex ( ( v + imag ) ) all . append ( ( py , [ py , mycomplex ( py ) ] ) ) all . append ( ( True , [ True ] ) ) all . append ( ( False , [ False ] ) ) return all
returns the value in this cluster or all the values in the leaf clusters below it .