Merge branch '2.2'

Closes GH-43.
This commit is contained in:
Petri Lehtinen
2011-11-14 21:11:18 +02:00
5 changed files with 67 additions and 7 deletions

View File

@@ -20,6 +20,16 @@ such values, as containers manage the reference count of their
contained values. Bugs involving concurrent incrementing or
decrementing of deference counts may be hard to track.
The encoding functions (:func:`json_dumps()` and friends) track
reference loops by modifying the internal state of objects and arrays.
For this reason, encoding functions must not be run on the same JSON
values in two separate threads at the same time. As already noted
above, be especially careful if two arrays or objects share their
contained values with another array or object.
If you want to make sure that two JSON value hierarchies do not
contain shared values, use :func:`json_deep_copy()` to make copies.
Locale
------