mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-21 17:13:42 +00:00
Update SimpleJSON library 3.8.0 (a37a9bd) to 3.8.1 (6022794).
This commit is contained in:
parent
eb15b8d925
commit
717ef25da5
4 changed files with 10 additions and 6 deletions
|
@ -17,6 +17,7 @@
|
||||||
* Update PNotify library 2.0.1 to 2.1.0
|
* Update PNotify library 2.0.1 to 2.1.0
|
||||||
* Update profilehooks 1.4 to 1.8.2.dev0 (ee3f1a8)
|
* Update profilehooks 1.4 to 1.8.2.dev0 (ee3f1a8)
|
||||||
* Update Requests library 2.7.0 (5d6d1bc) to 2.9.1 (a1c9b84)
|
* Update Requests library 2.7.0 (5d6d1bc) to 2.9.1 (a1c9b84)
|
||||||
|
* Update SimpleJSON library 3.8.0 (a37a9bd) to 3.8.1 (6022794)
|
||||||
|
|
||||||
|
|
||||||
### 0.11.0 (2016-01-10 22:30:00 UTC)
|
### 0.11.0 (2016-01-10 22:30:00 UTC)
|
||||||
|
|
|
@ -97,7 +97,7 @@ Using simplejson.tool from the shell to validate and pretty-print::
|
||||||
Expecting property name: line 1 column 3 (char 2)
|
Expecting property name: line 1 column 3 (char 2)
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
__version__ = '3.8.0'
|
__version__ = '3.8.1'
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'dump', 'dumps', 'load', 'loads',
|
'dump', 'dumps', 'load', 'loads',
|
||||||
'JSONDecoder', 'JSONDecodeError', 'JSONEncoder',
|
'JSONDecoder', 'JSONDecodeError', 'JSONEncoder',
|
||||||
|
|
|
@ -2596,7 +2596,6 @@ encoder_init(PyObject *self, PyObject *args, PyObject *kwds)
|
||||||
"use_decimal",
|
"use_decimal",
|
||||||
"namedtuple_as_object",
|
"namedtuple_as_object",
|
||||||
"tuple_as_array",
|
"tuple_as_array",
|
||||||
"iterable_as_array"
|
|
||||||
"int_as_string_bitcount",
|
"int_as_string_bitcount",
|
||||||
"item_sort_key",
|
"item_sort_key",
|
||||||
"encoding",
|
"encoding",
|
||||||
|
|
|
@ -496,10 +496,14 @@ def _make_iterencode(markers, _default, _encoder, _indent, _floatstr,
|
||||||
chunks = _iterencode(value, _current_indent_level)
|
chunks = _iterencode(value, _current_indent_level)
|
||||||
for chunk in chunks:
|
for chunk in chunks:
|
||||||
yield chunk
|
yield chunk
|
||||||
if newline_indent is not None:
|
if first:
|
||||||
_current_indent_level -= 1
|
# iterable_as_array misses the fast path at the top
|
||||||
yield '\n' + (_indent * _current_indent_level)
|
yield '[]'
|
||||||
yield ']'
|
else:
|
||||||
|
if newline_indent is not None:
|
||||||
|
_current_indent_level -= 1
|
||||||
|
yield '\n' + (_indent * _current_indent_level)
|
||||||
|
yield ']'
|
||||||
if markers is not None:
|
if markers is not None:
|
||||||
del markers[markerid]
|
del markers[markerid]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue