0.1.12: re-enable packs()/unpacks() aliases.

This commit is contained in:
INADA Naoki 2011-12-27 21:34:40 +09:00
parent d2a23cc22a
commit ac713705eb
3 changed files with 20 additions and 1 deletions

View file

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

View file

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

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
# coding: utf-8
version = (0, 1, 11)
version = (0, 1, 12)
import os
import sys