add long type support

The script will throw an type error exception when it met a long value. I add the long type into the tuple and everything is ok now except it will missing the ending 'L'. But that's exactly what I want.