Skip to content

Commit ab2415e

Browse files
jkorvinmethane
authored andcommitted
Unpacker: allow to use buffer with size greater than 2 GB (#332)
1 parent 44254dd commit ab2415e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack/_unpacker.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ cdef class Unpacker(object):
320320
def __init__(self, file_like=None, Py_ssize_t read_size=0,
321321
bint use_list=True, bint raw=True,
322322
object object_hook=None, object object_pairs_hook=None, object list_hook=None,
323-
encoding=None, unicode_errors=None, int max_buffer_size=0,
323+
encoding=None, unicode_errors=None, Py_ssize_t max_buffer_size=0,
324324
object ext_hook=ExtType,
325325
Py_ssize_t max_str_len=1024*1024,
326326
Py_ssize_t max_bin_len=1024*1024,

0 commit comments

Comments
 (0)