remove deprecated api.
This commit is contained in:
@@ -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
|
||||
----------
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user