summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2010-09-02 01:30:32 +0900
committerINADA Naoki <songofacandy@gmail.com>2010-09-02 01:30:32 +0900
commit623df2357025a860578db54683aa10ddea7d261d (patch)
tree697b5401dc7ca2108600464ae905aa688ae96fce /python
parent4a15d8b6d2b69bdc1de0b0a7f643b02e00100e66 (diff)
parent558e9c21edf3cee5813aaa0e7797509eec5d43fb (diff)
downloadmsgpack-python-623df2357025a860578db54683aa10ddea7d261d.tar.gz
Merge branch 'master' of github.com:msgpack/msgpack
Diffstat (limited to 'python')
-rw-r--r--python/msgpack/__init__.py7
-rwxr-xr-xpython/setup.py2
2 files changed, 8 insertions, 1 deletions
diff --git a/python/msgpack/__init__.py b/python/msgpack/__init__.py
index 9593714..86786a2 100644
--- a/python/msgpack/__init__.py
+++ b/python/msgpack/__init__.py
@@ -1,3 +1,10 @@
# coding: utf-8
from msgpack._msgpack import *
+# alias for compatibility to simplejson/marshal/pickle.
+load = unpack
+loads = unpackb
+
+dump = pack
+dumps = packb
+
diff --git a/python/setup.py b/python/setup.py
index 8d8a6f4..64e71ed 100755
--- a/python/setup.py
+++ b/python/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: