mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
0.1.12: re-enable packs()/unpacks() aliases.
This commit is contained in:
parent
d2a23cc22a
commit
ac713705eb
3 changed files with 20 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
# coding: utf-8
|
||||
version = (0, 1, 11)
|
||||
version = (0, 1, 12)
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue