diff options
-rw-r--r-- | ChangeLog.rst | 10 | ||||
-rw-r--r-- | msgpack/__init__.py | 9 | ||||
-rwxr-xr-x | setup.py | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst index 758c83e..89a97d7 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -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 diff --git a/msgpack/__init__.py b/msgpack/__init__.py index cdf045f..6b9735e 100644 --- a/msgpack/__init__.py +++ b/msgpack/__init__.py @@ -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) @@ -1,6 +1,6 @@ #!/usr/bin/env python # coding: utf-8 -version = (0, 1, 11) +version = (0, 1, 12) import os import sys |