def unpack(x):
    try:
	1/0
    except:
	typ, value, traceback = sys.exc_info()

	f = traceback.tb_frame.f_back
	co = f.f_code
	i = f.f_lasti
	code = co.co_code
	if ord(code[i]) == CALL_FUNCTION and ord(code[i+3]) == UNPACK_SEQUENCE:
	    i += 3
	    n = ord(code[i+1]) + ord(code[i+2])*256
	    i += 3
	    names = []
	    while n < len(names) and i < len(code):
		op = ord(code[i])
		i += 1
		if op >= HAVE_ARGUMENT:
		    oparg = ord(code[i]) + ord(code[i+1])*256
		    i += 2
		    if op == STORE_FAST:
			names.append(co.co_varnames[oparg])
		    elif op in (STORE_NAME, STORE_ATTR, STORE_GLOBAL):
			names.append(co.co_names[oparg])
		if op == STORE_SUBSCR or STORE_SLICE <= op <= STORE_SLICE+3:
		    break
	    if len(names) == n:
		r = []
		for name in names:
		    try:
			v = getattr(x, name)
		    except AttributeError:
			v = x[name]
		    r.append(v)
		return r
	raise SyntaxError
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/etc/Unpack.py/unpack/swapped operands of `<`