Your message dated Thu, 5 Jul 2012 17:47:19 -0400
with message-id <[email protected]>
and subject line Re: Bug#680448: msgpack-python: Lists in packed object are 
unpacked as tuples
has caused the Debian Bug report #680448,
regarding msgpack-python: Lists in packed object are unpacked as tuples
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
680448: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680448
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
[email protected] wrote:
> 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:

given the first and second examples on
http://pypi.python.org/pypi/msgpack-python/ i can only assume this is
completely intended behavior.

-- 
Robert Edmonds
[email protected]


--- End Message ---

Reply via email to