Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
9fb061ba9ca6021055ca5a9bac193aeb1211aba0
/
Modules
/
_json.c
f04790a
Fixed possible reference leaks in the _json module.
by Serhiy Storchaka
· 8 years ago
aa03420
be extremely careful about overflows in encode_basestring_ascii (closes #28284)
by Benjamin Peterson
· 8 years ago
e6239a3
Issue #27934: Use float.__repr__ instead of plain repr when JSON-encoding an instance of a float subclass. Thanks Eddie James.
by Mark Dickinson
· 8 years ago
04a5385
fix possible overflow in encode_basestring_ascii (#23369)
by Benjamin Peterson
· 8 years ago
763a61c
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
by Serhiy Storchaka
· 9 years ago
bc62af1
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
by Serhiy Storchaka
· 9 years ago
5951f23
Issue #20440: Massive replacing unsafe attribute setting code with special
by Serhiy Storchaka
· 9 years ago
76a64ca
Issue #24683: Fixed a crash in _json.make_encoder() called with non-dict 1st argument.
by Serhiy Storchaka
· 9 years ago
045c451
Issue #24704: Fixed possible NULL pointer dereferencing in the _json module
by Serhiy Storchaka
· 9 years ago
5127ed7
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
by Serhiy Storchaka
· 9 years ago
3e5d87b
disallow a negative idx parameter
by Benjamin Peterson
· 11 years ago
6c939cb
in scan_once, prevent the reading of arbitrary memory when passed a negative index
by Benjamin Peterson
· 11 years ago
dafda9b
Issue #11489: JSON decoder now accepts lone surrogates.
by Serhiy Storchaka
· 11 years ago
e9e35c3
Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
by Antoine Pitrou
· 12 years ago
d9a5137
Issue #5067: improve some json error messages. Patch by Serhiy Storchaka.
by Antoine Pitrou
· 12 years ago
dee76e6
Issue #13774: json: Fix a SystemError when a bogus encoding is passed to
by Amaury Forgeot d'Arc
· 13 years ago
c1ec7b5
#12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations.
by Ezio Melotti
· 13 years ago
cec4649
#12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.
by Ezio Melotti
· 13 years ago
f5164f6
#11982: remove now unused function.
by Ezio Melotti
· 13 years ago
df8a8f7
#11982: fix json.loads('""') to return u'' rather than ''.
by Ezio Melotti
· 13 years ago
d823bdc
#10804: fix copy-paste error when checking assigned fields for NULL.
by Georg Brandl
· 14 years ago
fa65827
Issue 10038. Restore the Python 2.6 behavior that json.loads() always returns
by Barry Warsaw
· 14 years ago
cbba8d4
Backport r72961 fixing issue #6105: json.dumps not following OrderedDict iteration order.
by Raymond Hettinger
· 14 years ago
22ad245
Merged revisions 85342 via svnmerge from
by Antoine Pitrou
· 14 years ago
f31db93
Apply patch from Ray Allen for issue 9296
by Doug Hellmann
· 14 years ago
8e9757e
Remove unneeded variable mutation and initializations.
by Brett Cannon
· 14 years ago
187177f
Issue #6986: Fix crash in the JSON C accelerator when called with the
by Antoine Pitrou
· 15 years ago
129c97d
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
by Eric Smith
· 15 years ago
f71ba95
#5932: fix error return in _convertPyInt_AsSsize_t() conversion function.
by Georg Brandl
· 15 years ago
76a982a
Issue 5381: fix regression in pure python code path, Issue 5584: fix a decoder bug for unicode float literals outside of a container
by Bob Ippolito
· 16 years ago
a0b8d9a
Silence a compiler warning.
by Raymond Hettinger
· 16 years ago
91852ca
Issue 5381: Add object_pairs_hook to the json module.
by Raymond Hettinger
· 16 years ago
d914e3f
merge json library with simplejson 2.0.9 (issue 4136)
by Bob Ippolito
· 16 years ago
336680e
fix more possible ref leaks in _json and use Py_CLEAR
by Benjamin Peterson
· 16 years ago
87e6ad2
fix possible ref leak
by Benjamin Peterson
· 16 years ago
595e3cb
check for error conditions in _json #3623
by Benjamin Peterson
· 16 years ago
d648f64
#3322: bounds checking for _json.scanstring
by Bob Ippolito
· 16 years ago
dd96db6
This reverts r63675 based on the discussion in this thread:
by Gregory P. Smith
· 16 years ago
593daf5
Renamed PyString to PyBytes
by Christian Heimes
· 16 years ago
c8a0d2f
Intern static string
by Christian Heimes
· 16 years ago
4b964f9
Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
by Brett Cannon
· 16 years ago