Package: msgpack-python Version: 0.1.10-1 Severity: normal Dear Maintainer,
When I create an object containing lists, pack it and later unpack, the unpacked object contains tuples instead of lists. Below is a sample Python session: >>> import msgpack >>> a={"rr":[34,65],"t":[43,12],4:[667,900]} >>> a {4: [667, 900], 't': [43, 12], 'rr': [34, 65]} >>> s=msgpack.packb(a) >>> s '\x83\x04\x92\xcd\x02\x9b\xcd\x03\x84\xa1t\x92+\x0c\xa2rr\x92"A' >>> t=msgpack.unpackb(s) >>> t {4: (667, 900), 't': (43, 12), 'rr': (34, 65)} >>> a=[4,6,7,8,4] >>> s=msgpack.packb(a) >>> t=msgpack.unpackb(s) >>> t (4, 6, 7, 8, 4) -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.4.4 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages msgpack-python depends on: ii libc6 2.13-33 ii python 2.7.3~rc2-1 ii python-support 1.0.14 msgpack-python recommends no packages. msgpack-python suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org