Merge branch '542'

This commit is contained in:
Adam Holmberg
2016-04-13 15:22:21 -05:00
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
3.2.1
=====
April 13, 2016
* Introduced an update to allow deserializer compilation with recently released Cython 0.24
3.2.0
=====
April 12, 2016

View File

@@ -22,7 +22,7 @@ class NullHandler(logging.Handler):
logging.getLogger('cassandra').addHandler(NullHandler())
__version_info__ = (3, 2, 0, 'post0')
__version_info__ = (3, 2, 1, 'post0')
__version__ = '.'.join(map(str, __version_info__))

View File

@@ -59,7 +59,7 @@ cdef class DesDecimalType(Deserializer):
cdef Buffer varint_buf
slice_buffer(buf, &varint_buf, 4, buf.size - 4)
scale = unpack_num[int32_t](buf)
cdef int32_t scale = unpack_num[int32_t](buf)
unscaled = varint_unpack(&varint_buf)
return Decimal('%de%d' % (unscaled, -scale))