import binascii import urllib2 import json try: from filecache import filecache, MONTH except: def filecache(x): def _inner(y): return y return _inner MONTH = None import types_pb2 as proto_types def op_push(i): if i<0x4c: return chr(i) elif i<0xff: return '\x4c' + chr(i) elif i<0xffff: return '\x4d' + struct.pack("