mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
remove deprecated api.
This commit is contained in:
parent
288e820293
commit
dd5b1e265a
2 changed files with 3 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue