MCPcopy Create free account

hub / github.com/simplejson/simplejson / functions

Functions472 in github.com/simplejson/simplejson

Methodtest_decode_in_subinterpreter
Verify decoding works correctly in a subinterpreter.
simplejson/tests/test_subinterpreters.py:53
Methodtest_decoder_optimizations
(self)
simplejson/tests/test_decode.py:29
Methodtest_default
(self)
simplejson/tests/test_default.py:6
Methodtest_default_callback_clears_markers
(self)
simplejson/tests/test_check_circular.py:32
Methodtest_default_encoding
(self)
simplejson/tests/test_unicode.py:77
Methodtest_defaultrecursion
(self)
simplejson/tests/test_recursion.py:58
Methodtest_degenerates_allow
(self)
simplejson/tests/test_float.py:9
Methodtest_degenerates_deny
(self)
simplejson/tests/test_float.py:20
Methodtest_degenerates_ignore
(self)
simplejson/tests/test_float.py:16
Methodtest_dict_fast_path_no_leak
The PyDict_Next fast path (unsorted exact dict) must not leak references compared to the iterator slow path.
simplejson/tests/test_speedups.py:297
Methodtest_dict_keys
(self)
simplejson/tests/test_bigint_as_string.py:57
Methodtest_dict_keys
(self)
simplejson/tests/test_bitsize_int_as_string.py:84
Methodtest_dict_slow_path_no_leak
The iterator slow path (sorted or dict subclass) must not leak.
simplejson/tests/test_speedups.py:304
Methodtest_dict_subclass_sorted
Slow path: dict subclass with sort_keys=True.
simplejson/tests/test_dump.py:322
Methodtest_dict_subclass_unsorted
Slow path: dict subclass falls back to iterator path.
simplejson/tests/test_dump.py:314
Methodtest_dictrecursion
(self)
simplejson/tests/test_recursion.py:44
Methodtest_dicts
(self)
simplejson/tests/test_bigint_as_string.py:45
Methodtest_dicts
(self)
simplejson/tests/test_bitsize_int_as_string.py:53
Methodtest_direct
(self)
simplejson/tests/test_raw_json.py:41
Methodtest_dump
(self)
simplejson/tests/test_dump.py:27
Methodtest_dump_load
(self)
simplejson/tests/test_str_subclass.py:12
Methodtest_dumps
(self)
simplejson/tests/test_dump.py:69
Methodtest_dumps_no_leak
(self)
simplejson/tests/test_speedups.py:196
Methodtest_empty_dict
Empty dict takes the early-return path.
simplejson/tests/test_dump.py:358
Methodtest_empty_list
(self)
simplejson/tests/test_dump.py:436
Methodtest_empty_objects
(self)
simplejson/tests/test_decode.py:36
Methodtest_empty_strings
(self)
simplejson/tests/test_decode.py:75
Methodtest_empty_tuple
(self)
simplejson/tests/test_dump.py:439
Methodtest_encode_in_subinterpreter
Verify encoding works correctly in a subinterpreter.
simplejson/tests/test_subinterpreters.py:38
Methodtest_encode_truefalse
(self)
simplejson/tests/test_dump.py:72
Methodtest_encoder_construction_no_leak
(self)
simplejson/tests/test_speedups.py:210
Methodtest_encoder_instances_work
Verify Encoder heap type instances encode correctly.
simplejson/tests/test_speedups.py:137
Methodtest_encoder_is_heap_type
(self)
simplejson/tests/test_speedups.py:112
Methodtest_encoder_type_is_gc_tracked
(self)
simplejson/tests/test_speedups.py:125
Methodtest_encoding1
(self)
simplejson/tests/test_unicode.py:9
Methodtest_encoding2
(self)
simplejson/tests/test_unicode.py:17
Methodtest_encoding3
(self)
simplejson/tests/test_unicode.py:24
Methodtest_encoding4
(self)
simplejson/tests/test_unicode.py:29
Methodtest_encoding5
(self)
simplejson/tests/test_unicode.py:34
Methodtest_encoding6
(self)
simplejson/tests/test_unicode.py:39
Methodtest_end_out_of_bounds_is_jsondecodeerror
(self)
simplejson/tests/test_scanstring.py:152
Methodtest_ensure_ascii_false_bytestring_encoding
(self)
simplejson/tests/test_unicode.py:93
Methodtest_ensure_ascii_false_returns_unicode
(self)
simplejson/tests/test_unicode.py:86
Methodtest_ensure_ascii_linebreak_encoding
(self)
simplejson/tests/test_unicode.py:104
Methodtest_ensure_ascii_still_works
(self)
simplejson/tests/test_unicode.py:138
Methodtest_error_is_pickable
(self)
simplejson/tests/test_errors.py:55
Methodtest_escape_error_parity
(self)
simplejson/tests/test_scanstring.py:222
Methodtest_exact_dict_sorted
Slow path: exact dict, sort_keys=True.
simplejson/tests/test_dump.py:307
Methodtest_exact_dict_unsorted
Fast path: exact dict, sort_keys=False.
simplejson/tests/test_dump.py:301
Methodtest_exact_list
Fast path: exact list iterates by index.
simplejson/tests/test_dump.py:408
Methodtest_exact_tuple
Fast path: exact tuple when tuple_as_array=True.
simplejson/tests/test_dump.py:413
Methodtest_failed_construction_no_leak
Error path in scanner_new/encoder_new must release module_ref.
simplejson/tests/test_speedups.py:214
Methodtest_failures
(self)
simplejson/tests/test_fail.py:109
Methodtest_float
(self)
simplejson/tests/test_subclass.py:29
Methodtest_float
(self)
simplejson/tests/test_decode.py:24
Methodtest_float_range
(self)
simplejson/tests/test_float.py:41
Methodtest_floats
(self)
simplejson/tests/test_float.py:27
Methodtest_for_json_encodes_dict_subclass
(self)
simplejson/tests/test_for_json.py:71
Methodtest_for_json_encodes_list
(self)
simplejson/tests/test_for_json.py:61
Methodtest_for_json_encodes_list_subclass
(self)
simplejson/tests/test_for_json.py:76
Methodtest_for_json_encodes_list_within_object
(self)
simplejson/tests/test_for_json.py:66
Methodtest_for_json_encodes_object_nested_in_dict
(self)
simplejson/tests/test_for_json.py:46
Methodtest_for_json_encodes_object_nested_in_list_within_dict
(self)
simplejson/tests/test_for_json.py:51
Methodtest_for_json_encodes_object_nested_within_object
(self)
simplejson/tests/test_for_json.py:56
Methodtest_for_json_encodes_stand_alone_object
(self)
simplejson/tests/test_for_json.py:41
Methodtest_for_json_ignored_if_not_true_with_dict_subclass
(self)
simplejson/tests/test_for_json.py:81
Methodtest_for_json_ignored_if_not_true_with_list_subclass
(self)
simplejson/tests/test_for_json.py:88
Methodtest_for_json_raising_no_leak
for_json() raising inside its body must not leak the method binding or partial accumulator state.
simplejson/tests/test_speedups.py:265
Methodtest_frozendict_in_list
(self)
simplejson/tests/test_dump.py:276
Methodtest_frozendict_nested
(self)
simplejson/tests/test_dump.py:280
Methodtest_frozendict_toplevel
(self)
simplejson/tests/test_dump.py:271
Methodtest_getattr_exception_propagates
(self)
simplejson/tests/test_for_json.py:99
Methodtest_import_in_subinterpreter
Verify _speedups can be imported in a subinterpreter.
simplejson/tests/test_subinterpreters.py:32
Methodtest_indent
(self)
simplejson/tests/test_indent.py:8
Methodtest_indent0
(self)
simplejson/tests/test_indent.py:56
Methodtest_indent_unknown_type_acceptance
A test against the regression mentioned at `github issue 29`_. The indent parameter should accept any type which pretends to be
simplejson/tests/test_dump.py:100
Methodtest_infile_outfile
(self)
simplejson/tests/test_tool.py:80
Methodtest_infile_stdout
(self)
simplejson/tests/test_tool.py:69
Methodtest_int
(self)
simplejson/tests/test_subclass.py:24
Methodtest_int_as_string_bitcount_overflow
(self)
simplejson/tests/test_speedups.py:86
Methodtest_ints
(self)
simplejson/tests/test_bigint_as_string.py:23
Methodtest_ints
(self)
simplejson/tests/test_bitsize_int_as_string.py:32
Methodtest_ints
(self)
simplejson/tests/test_float.py:34
Methodtest_ints_outside_range_fails
(self)
simplejson/tests/test_bitsize_int_as_string.py:26
Methodtest_invalid_counts
(self)
simplejson/tests/test_bitsize_int_as_string.py:20
Methodtest_invalid_escape_sequences
(self)
simplejson/tests/test_unicode.py:115
Methodtest_issue3623
(self)
simplejson/tests/test_scanstring.py:139
Methodtest_item_sort_key_value
(self)
simplejson/tests/test_item_sort_key.py:22
Methodtest_iterable
(self)
simplejson/tests/test_iterable.py:23
Methodtest_iterable_as_array_propagates_non_typeerror
(self)
simplejson/tests/test_iterable.py:41
Methodtest_key_memo_cache_hit
Encoding a list of dicts with the same keys exercises the key_memo cache in encoder_encode_dict_key.
simplejson/tests/test_dump.py:387
Methodtest_keys_reuse_str
(self)
simplejson/tests/test_decode.py:67
Methodtest_keys_reuse_unicode
(self)
simplejson/tests/test_decode.py:71
Methodtest_large_dict
Large dict stresses the PyDict_Next iteration path.
simplejson/tests/test_dump.py:396
Methodtest_large_list
Large list stresses the indexed fast path.
simplejson/tests/test_dump.py:450
Methodtest_list
(self)
simplejson/tests/test_raw_json.py:33
Methodtest_list_fast_path_no_leak
The indexed fast path for exact lists must not leak.
simplejson/tests/test_speedups.py:318
Methodtest_list_subclass
Slow path: list subclass uses iterator.
simplejson/tests/test_dump.py:420
Methodtest_listrecursion
(self)
simplejson/tests/test_recursion.py:21
Methodtest_lists
(self)
simplejson/tests/test_bigint_as_string.py:33
← previousnext →301–400 of 472, ranked by callers