remove deprecated api.

This commit is contained in:
INADA Naoki
2012-06-27 18:07:02 +09:00
parent 288e820293
commit dd5b1e265a
2 changed files with 3 additions and 11 deletions

View File

@@ -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
----------

View File

@@ -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)