0.1.12: re-enable packs()/unpacks() aliases.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
0.1.12
|
||||
=======
|
||||
:release date: 2011-12-27
|
||||
|
||||
Bugs fixed
|
||||
-------------
|
||||
|
||||
* Re-enable packs/unpacks removed at 0.1.11. It will be removed when 0.2 is released.
|
||||
|
||||
|
||||
0.1.11
|
||||
=======
|
||||
:release date: 2011-12-26
|
||||
|
||||
@@ -9,3 +9,12 @@ 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