summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2012-06-27 18:07:02 +0900
committerINADA Naoki <songofacandy@gmail.com>2012-06-27 18:07:02 +0900
commitdd5b1e265a24a6ddc6ffe681d9d632a8240ce2ad (patch)
treea204251fe4b4a478c4f4a1be493610af30a5b21e
parent288e82029353e3c3256341c0e32d16ca32d33700 (diff)
downloadmsgpack-python-dd5b1e265a24a6ddc6ffe681d9d632a8240ce2ad.tar.gz
remove deprecated api.
-rw-r--r--ChangeLog.rst5
-rw-r--r--msgpack/__init__.py9
2 files changed, 3 insertions, 11 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst
index 2fc9c18..e255e19 100644
--- a/ChangeLog.rst
+++ b/ChangeLog.rst
@@ -1,11 +1,12 @@
-0.1.14
+0.2.0
=======
-:release date: NOT RELEASED YET
+:release date: 2012-06-27
Changes
-------
* Drop supporting Python 2.5 and unify tests for Py2 and Py3.
* Use new version of msgpack-c. It packs correctly on big endian platforms.
+* Remove deprecated packs and unpacks API.
Bugs fixed
----------
diff --git a/msgpack/__init__.py b/msgpack/__init__.py
index 6b9735e..cdf045f 100644
--- a/msgpack/__init__.py
+++ b/msgpack/__init__.py
@@ -9,12 +9,3 @@ 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)