From 73ac804b4f7b8d6e1d762e5565fbf10b187c7beb Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Tue, 15 Jun 2010 17:51:24 +0900 Subject: Python: add "load(s)/dump(s)" alias for compatibility to simplejson/marshal/pickle. --- msgpack/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/msgpack/__init__.py b/msgpack/__init__.py index 797b29c..26bd2dd 100644 --- a/msgpack/__init__.py +++ b/msgpack/__init__.py @@ -1,3 +1,10 @@ # coding: utf-8 from _msgpack import * +# alias for compatibility to simplejson/marshal/pickle. +load = unpack +loads = unpackb + +dump = pack +dumps = packb + -- cgit v1.2.1 From f0e6d33f7965908988a8023ed734188d86f4f448 Mon Sep 17 00:00:00 2001 From: Naoki INADA Date: Tue, 15 Jun 2010 18:06:58 +0900 Subject: Python: 0.1.4 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8d8a6f4..64e71ed 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ except ImportError: from distutils.command.build_ext import build_ext have_cython = False -version = '0.1.3' +version = '0.1.4' # take care of extension modules. if have_cython: -- cgit v1.2.1