summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2011-12-27 21:34:40 +0900
committerINADA Naoki <songofacandy@gmail.com>2011-12-27 21:34:40 +0900
commitac713705ebdd131acb92b52116e6ec180731add2 (patch)
tree75042bb4e890ef67bcedf7da8f7118e35fd6da4f
parentd2a23cc22a5998fb95a7d4c1bf1f6fbd17d27f3b (diff)
downloadmsgpack-python-ac713705ebdd131acb92b52116e6ec180731add2.tar.gz
0.1.12: re-enable packs()/unpacks() aliases.0.1.12
-rw-r--r--ChangeLog.rst10
-rw-r--r--msgpack/__init__.py9
-rwxr-xr-xsetup.py2
3 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst
index 758c83e..89a97d7 100644
--- a/ChangeLog.rst
+++ b/ChangeLog.rst
@@ -1,3 +1,13 @@
+0.1.12
+=======
+:release date: 2011-12-27
+
+Bugs fixed
+-------------
+
+* Re-enable packs/unpacks removed at 0.1.11. It will be removed when 0.2 is released.
+
+
0.1.11
=======
:release date: 2011-12-26
diff --git a/msgpack/__init__.py b/msgpack/__init__.py
index cdf045f..6b9735e 100644
--- a/msgpack/__init__.py
+++ b/msgpack/__init__.py
@@ -9,3 +9,12 @@ loads = unpackb
dump = pack
dumps = packb
+def packs(*args, **kw):
+ from warnings import warn
+ warn("msgpack.packs() is deprecated. Use packb() instead.", DeprecationWarning)
+ return packb(*args, **kw)
+
+def unpacks(*args, **kw):
+ from warnings import warn
+ warn("msgpack.unpacks() is deprecated. Use unpackb() instead.", DeprecationWarning)
+ return unpackb(*args, **kw)
diff --git a/setup.py b/setup.py
index faeb9f1..ddacbe2 100755
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# coding: utf-8
-version = (0, 1, 11)
+version = (0, 1, 12)
import os
import sys