From dd5b1e265a24a6ddc6ffe681d9d632a8240ce2ad Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Wed, 27 Jun 2012 18:07:02 +0900 Subject: [PATCH] remove deprecated api. --- ChangeLog.rst | 5 +++-- msgpack/__init__.py | 9 --------- 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)