Your message dated Mon, 16 Jul 2012 20:41:10 -0400
with message-id <[email protected]>
and subject line Re: Bug#681835: msgpack-python: Problem with packing of big 
dictionaries
has caused the Debian Bug report #681835,
regarding msgpack-python: Problem with packing of big dictionaries
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.)


-- 
681835: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681835
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: msgpack-python
Version: 0.1.10-1
Severity: important

Dear Maintainer,

I've tried to use msgpack to pack environment as a big dictionary, which
resulted in packing of keys only:

>>> import msgpack
>>> import os
>>> e=os.environ
>>> print e
{'DBUS_SESSION_BUS_ADDRESS':
'unix:abstract=/tmp/dbus-inhlMxTPua,guid=97ac3dcfb46a13d2a1a258c550042ce0',
'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'wzab', 'USER': 'wzab',
'DM_CONTROL': '/var/run/xdmctl', 'PATH':
'/home/wzab/bin:/home/wzab/bin:/usr/local/bin:/usr/bin:/bin:/usr/games',
'KDE_SESSION_VERSION': '4', 'KDE_FULL_SESSION': 'true', 'LANG':
'pl_PL.UTF-8', 'PROFILEHOME': '', 'TERM': 'xterm', 'SHELL': '/bin/bash',
'COLORFGBG': '15;0', 'XDG_SESSION_COOKIE':
'0a6aae407d2b71f7c409f60045ccb601-1342450909.742745-461782646', 'LANGUAGE':
'', 'SESSION_MANAGER':
'local/wzab:@/tmp/.ICE-unix/5052,unix/wzab:/tmp/.ICE-unix/5052', 'SHLVL':
'2', 'XCURSOR_THEME': 'oxy-black', 'WINDOWID': '41943058', '_':
'/usr/bin/python', 'SSH_AGENT_PID': '4385', 'HOME': '/home/wzab',
'KONSOLE_DBUS_SESSION': '/Sessions/10', 'KDE_SESSION_UID': '1000',
'QT_PLUGIN_PATH':
'/home/wzab/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/', 'XDM_MANAGED':
'method=classic', 'SSH_AUTH_SOCK': '/tmp/ssh-mA6gazkUZny0/agent.4270',
'KONSOLE_DBUS_SERVICE': ':1.27', 'GTK2_RC_FILES':
'/etc/gtk-2.0/gtkrc:/home/wzab/.gtkrc-2.0:/home/wzab/.kde/share/config/gtkrc-2.0',
'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'GS_LIB': '/home/wzab/.fonts',
'SHELL_SESSION_ID': '4da74f07d50b40008fb9b8643168be8f', 'WINDOWPATH': '7',
'DESKTOP_SESSION': 'kde-plasma', 'DISPLAY': ':0', 'HISTCONTROL':
'ignoredups', 'XDG_DATA_DIRS': '/usr/share:/usr/share:/usr/local/share',
'PWD': '/home/wzab/biezace/python-object-server/publik/send',
'GTK_RC_FILES':
'/etc/gtk/gtkrc:/home/wzab/.gtkrc:/home/wzab/.kde/share/config/gtkrc',
'LS_COLORS':
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;3
5:*.gl=01
;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:',
'KDE_MULTIHEAD': 'false'}
>>> p=msgpack.packb(e)
>>> msgpack.unpackb(p)
('DBUS_SESSION_BUS_ADDRESS', 'LESSOPEN', 'LOGNAME', 'USER', 'DM_CONTROL',
'PATH', 'KDE_SESSION_VERSION', 'KDE_FULL_SESSION', 'LANG', 'PROFILEHOME',
'TERM', 'SHELL', 'COLORFGBG', 'XDG_SESSION_COOKIE', 'LANGUAGE',
'SESSION_MANAGER', 'SHLVL', 'XCURSOR_THEME', 'WINDOWID', '_',
'SSH_AGENT_PID', 'HOME', 'KONSOLE_DBUS_SESSION', 'KDE_SESSION_UID',
'QT_PLUGIN_PATH', 'XDM_MANAGED', 'SSH_AUTH_SOCK', 'KONSOLE_DBUS_SERVICE',
'GTK2_RC_FILES', 'LESSCLOSE', 'GS_LIB', 'SHELL_SESSION_ID', 'WINDOWPATH',
'DESKTOP_SESSION', 'DISPLAY', 'HISTCONTROL', 'XDG_DATA_DIRS', 'PWD',
'GTK_RC_FILES', 'LS_COLORS', 'KDE_MULTIHEAD')
>>>

-- System Information:
Debian Release: wheezy/sid
Architecture: i386 (i686)

Kernel: Linux 3.4.1 (SMP w/2 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.15

msgpack-python recommends no packages.

msgpack-python suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
[email protected] wrote:
> Package: msgpack-python
> Version: 0.1.10-1
> Severity: important
> 
> Dear Maintainer,
> 
> I've tried to use msgpack to pack environment as a big dictionary, which
> resulted in packing of keys only:
> 
> >>> import msgpack
> >>> import os
> >>> e=os.environ

msgpack-python packs large dictionaries just fine.  os.environ is an
instance of a subclass of UserDict.IterableUserDict, not a dict.
arguably msgpack-python should treat mapping objects and dicts the same
way, but that would be a different bug and not a severity: important
one either.

-- 
Robert Edmonds
[email protected]

--- End Message ---

Reply via email to