RETIRED, further work has moved to Debian project infrastructure
Go to file
ChangBo Guo(gcb) 3727b2d6e0 Explicitly raise ValueError in to_primitive
The problem in the current version of to_primitive function
from jsonutils module is in the situation when the function
doesn't know how to convert an object to primitive. In that
case the function simply returns the same object which causes
the following exception later in json.dumps:
ValueError: Circular reference detected. This exception is not
obvious and is quite misleading. So I think it would be better
to explicitly raise ValueError here.

Closes-Bug: #1593641

Change-Id: If9e8dd5cc2634168910d5f9f8d9302aeefa16097
2017-05-17 15:55:14 +08:00
doc/source Add a title to the API Documentation page 2016-09-29 12:53:06 -07:00
oslo_serialization Explicitly raise ValueError in to_primitive 2017-05-17 15:55:14 +08:00
releasenotes Update reno for stable/ocata 2017-01-20 19:15:52 +00:00
tools Add Constraints support 2016-12-20 14:36:50 +11:00
.coveragerc Fix coverage configuration and execution 2015-10-08 17:22:20 -04:00
.gitignore Add reno for release notes management 2016-11-03 20:44:36 +08: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 Show team and repo badges on README 2016-11-25 15:21:15 +01:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-07-14 17:54:12 +00:00
requirements.txt Updated from global requirements 2017-04-12 04:20:20 +00:00
setup.cfg Use Sphinx 1.5 warning-is-error 2017-03-16 15:01:15 +00:00
setup.py Updated from global requirements 2017-03-03 00:03:20 +00:00
test-requirements.txt Updated from global requirements 2017-03-03 00:03:20 +00:00
tox.ini Remove references to Python 3.4 2017-01-17 10:34:52 -08:00

README.rst

Team and repository tags

image

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.