diff -r 27971a13089f -r 2e0b0af889be thirdparty/google_appengine/google/net/proto/ProtocolBuffer.py --- a/thirdparty/google_appengine/google/net/proto/ProtocolBuffer.py Sat Sep 05 14:04:24 2009 +0200 +++ b/thirdparty/google_appengine/google/net/proto/ProtocolBuffer.py Sun Sep 06 23:31:53 2009 +0200 @@ -344,13 +344,13 @@ def putFloat(self, v): a = array.array('B') - a.fromstring(struct.pack("f", v)) + a.fromstring(struct.pack(" self.limit: raise ProtocolBufferDecodeError, "truncated" a = self.buf[self.idx:self.idx+4] self.idx += 4 - return struct.unpack("f", a)[0] + return struct.unpack(" self.limit: raise ProtocolBufferDecodeError, "truncated" a = self.buf[self.idx:self.idx+8] self.idx += 8 - return struct.unpack("d", a)[0] + return struct.unpack("