RETIRED, further work has moved to Debian project infrastructure
Go to file
Gevorg Davoian 4fdaeff758 Replace TypeError by ValueError in msgpackutils
There are some differences in the behaviour of json and msgpack
serializers. Msgpack throws TypeError when it doesn't know
how to handle an object. Json throws ValueError instead. Regarding
the fact that serialization should be configurable (in particular,
serializers should have similar behaviour; right now transition from
json to msgpack leads to errors and fails) this patch proposes to
raise ValueError instead of TypeError on failures so that libraries
already using jsonutils would be able to also work with msgpackutils.

Change-Id: I3d21b7d136e5a426a3c4a70a953c82ddcd6ef5af
2016-06-08 08:41:36 +00:00
doc/source [Trivial] Remove executable privilege of doc/source/conf.py 2016-04-29 20:14:26 +08:00
oslo_serialization Replace TypeError by ValueError in msgpackutils 2016-06-08 08:41:36 +00:00
.coveragerc Fix coverage configuration and execution 2015-10-08 17:22:20 -04:00
.gitignore Fix coverage configuration and execution 2015-10-08 17:22:20 -04:00
.gitreview exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
.testr.conf Fixes wrong folder for listing tests 2015-04-27 15:00:14 +02:00
CONTRIBUTING.rst Fix bug track URL 2015-11-16 21:41:23 +08:00
HACKING.rst exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
LICENSE exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
README.rst Add utilities for base64 2015-10-01 14:32:29 +00:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
requirements.txt Updated from global requirements 2016-06-01 13:53:25 +00:00
setup.cfg Remove python 2.6 classifier 2015-11-17 15:05:37 +08:00
setup.py Updated from global requirements 2015-09-17 12:16:12 +00:00
test-requirements.txt Updated from global requirements 2016-05-26 17:04:07 +00:00
tox.ini Trivial: ignore openstack/common in flake8 exclude list 2016-05-11 20:43:42 +08:00

README.rst

oslo.serialization

Latest Version

Downloads

The oslo.serialization library provides support for representing objects in transmittable and storable formats, such as Base64, JSON and MessagePack.