Searched refs:allow_nan (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Lib/json/ |
H A D | __init__.py | 114 allow_nan=True, variable 121 allow_nan=True, cls=None, indent=None, separators=None, 138 If ``allow_nan`` is false, then it will be a ``ValueError`` to 166 check_circular and allow_nan and 174 check_circular=check_circular, allow_nan=allow_nan, indent=indent, 184 allow_nan=True, cls=None, indent=None, separators=None, 200 If ``allow_nan`` is false, then it will be a ``ValueError`` to 228 check_circular and allow_nan and 236 check_circular=check_circular, allow_nan [all...] |
H A D | encoder.py | 106 check_circular=True, allow_nan=True, sort_keys=False, 123 If allow_nan is true, then NaN, Infinity, and -Infinity will be 151 self.allow_nan = allow_nan 224 def floatstr(o, allow_nan=self.allow_nan, 239 if not allow_nan: 252 self.skipkeys, self.allow_nan)
|
/third_party/python/Lib/test/test_json/ |
H A D | test_float.py | 29 self.assertRaises(ValueError, self.dumps, [val], allow_nan=False)
|
/third_party/python/Modules/ |
H A D | _json.c | 62 int allow_nan; member 1240 static char *kwlist[] = {"markers", "default", "encoder", "indent", "key_separator", "item_separator", "sort_keys", "skipkeys", "allow_nan", NULL}; in encoder_new() 1245 int sort_keys, skipkeys, allow_nan; in encoder_new() local 1250 &sort_keys, &skipkeys, &allow_nan)) in encoder_new() 1272 s->allow_nan = allow_nan; in encoder_new() 1351 if (!s->allow_nan) { in encoder_encode_float()
|
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | diff_state.py | 134 self._write(json.dumps(node, allow_nan=True))
|
Completed in 6 milliseconds