Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simplejson/simplejson
/ functions
Functions
472 in github.com/simplejson/simplejson
⨍
Functions
472
◇
Types & classes
87
Method
test_decode_in_subinterpreter
Verify decoding works correctly in a subinterpreter.
simplejson/tests/test_subinterpreters.py:53
Method
test_decoder_optimizations
(self)
simplejson/tests/test_decode.py:29
Method
test_default
(self)
simplejson/tests/test_default.py:6
Method
test_default_callback_clears_markers
(self)
simplejson/tests/test_check_circular.py:32
Method
test_default_encoding
(self)
simplejson/tests/test_unicode.py:77
Method
test_defaultrecursion
(self)
simplejson/tests/test_recursion.py:58
Method
test_degenerates_allow
(self)
simplejson/tests/test_float.py:9
Method
test_degenerates_deny
(self)
simplejson/tests/test_float.py:20
Method
test_degenerates_ignore
(self)
simplejson/tests/test_float.py:16
Method
test_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
Method
test_dict_keys
(self)
simplejson/tests/test_bigint_as_string.py:57
Method
test_dict_keys
(self)
simplejson/tests/test_bitsize_int_as_string.py:84
Method
test_dict_slow_path_no_leak
The iterator slow path (sorted or dict subclass) must not leak.
simplejson/tests/test_speedups.py:304
Method
test_dict_subclass_sorted
Slow path: dict subclass with sort_keys=True.
simplejson/tests/test_dump.py:322
Method
test_dict_subclass_unsorted
Slow path: dict subclass falls back to iterator path.
simplejson/tests/test_dump.py:314
Method
test_dictrecursion
(self)
simplejson/tests/test_recursion.py:44
Method
test_dicts
(self)
simplejson/tests/test_bigint_as_string.py:45
Method
test_dicts
(self)
simplejson/tests/test_bitsize_int_as_string.py:53
Method
test_direct
(self)
simplejson/tests/test_raw_json.py:41
Method
test_dump
(self)
simplejson/tests/test_dump.py:27
Method
test_dump_load
(self)
simplejson/tests/test_str_subclass.py:12
Method
test_dumps
(self)
simplejson/tests/test_dump.py:69
Method
test_dumps_no_leak
(self)
simplejson/tests/test_speedups.py:196
Method
test_empty_dict
Empty dict takes the early-return path.
simplejson/tests/test_dump.py:358
Method
test_empty_list
(self)
simplejson/tests/test_dump.py:436
Method
test_empty_objects
(self)
simplejson/tests/test_decode.py:36
Method
test_empty_strings
(self)
simplejson/tests/test_decode.py:75
Method
test_empty_tuple
(self)
simplejson/tests/test_dump.py:439
Method
test_encode_in_subinterpreter
Verify encoding works correctly in a subinterpreter.
simplejson/tests/test_subinterpreters.py:38
Method
test_encode_truefalse
(self)
simplejson/tests/test_dump.py:72
Method
test_encoder_construction_no_leak
(self)
simplejson/tests/test_speedups.py:210
Method
test_encoder_instances_work
Verify Encoder heap type instances encode correctly.
simplejson/tests/test_speedups.py:137
Method
test_encoder_is_heap_type
(self)
simplejson/tests/test_speedups.py:112
Method
test_encoder_type_is_gc_tracked
(self)
simplejson/tests/test_speedups.py:125
Method
test_encoding1
(self)
simplejson/tests/test_unicode.py:9
Method
test_encoding2
(self)
simplejson/tests/test_unicode.py:17
Method
test_encoding3
(self)
simplejson/tests/test_unicode.py:24
Method
test_encoding4
(self)
simplejson/tests/test_unicode.py:29
Method
test_encoding5
(self)
simplejson/tests/test_unicode.py:34
Method
test_encoding6
(self)
simplejson/tests/test_unicode.py:39
Method
test_end_out_of_bounds_is_jsondecodeerror
(self)
simplejson/tests/test_scanstring.py:152
Method
test_ensure_ascii_false_bytestring_encoding
(self)
simplejson/tests/test_unicode.py:93
Method
test_ensure_ascii_false_returns_unicode
(self)
simplejson/tests/test_unicode.py:86
Method
test_ensure_ascii_linebreak_encoding
(self)
simplejson/tests/test_unicode.py:104
Method
test_ensure_ascii_still_works
(self)
simplejson/tests/test_unicode.py:138
Method
test_error_is_pickable
(self)
simplejson/tests/test_errors.py:55
Method
test_escape_error_parity
(self)
simplejson/tests/test_scanstring.py:222
Method
test_exact_dict_sorted
Slow path: exact dict, sort_keys=True.
simplejson/tests/test_dump.py:307
Method
test_exact_dict_unsorted
Fast path: exact dict, sort_keys=False.
simplejson/tests/test_dump.py:301
Method
test_exact_list
Fast path: exact list iterates by index.
simplejson/tests/test_dump.py:408
Method
test_exact_tuple
Fast path: exact tuple when tuple_as_array=True.
simplejson/tests/test_dump.py:413
Method
test_failed_construction_no_leak
Error path in scanner_new/encoder_new must release module_ref.
simplejson/tests/test_speedups.py:214
Method
test_failures
(self)
simplejson/tests/test_fail.py:109
Method
test_float
(self)
simplejson/tests/test_subclass.py:29
Method
test_float
(self)
simplejson/tests/test_decode.py:24
Method
test_float_range
(self)
simplejson/tests/test_float.py:41
Method
test_floats
(self)
simplejson/tests/test_float.py:27
Method
test_for_json_encodes_dict_subclass
(self)
simplejson/tests/test_for_json.py:71
Method
test_for_json_encodes_list
(self)
simplejson/tests/test_for_json.py:61
Method
test_for_json_encodes_list_subclass
(self)
simplejson/tests/test_for_json.py:76
Method
test_for_json_encodes_list_within_object
(self)
simplejson/tests/test_for_json.py:66
Method
test_for_json_encodes_object_nested_in_dict
(self)
simplejson/tests/test_for_json.py:46
Method
test_for_json_encodes_object_nested_in_list_within_dict
(self)
simplejson/tests/test_for_json.py:51
Method
test_for_json_encodes_object_nested_within_object
(self)
simplejson/tests/test_for_json.py:56
Method
test_for_json_encodes_stand_alone_object
(self)
simplejson/tests/test_for_json.py:41
Method
test_for_json_ignored_if_not_true_with_dict_subclass
(self)
simplejson/tests/test_for_json.py:81
Method
test_for_json_ignored_if_not_true_with_list_subclass
(self)
simplejson/tests/test_for_json.py:88
Method
test_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
Method
test_frozendict_in_list
(self)
simplejson/tests/test_dump.py:276
Method
test_frozendict_nested
(self)
simplejson/tests/test_dump.py:280
Method
test_frozendict_toplevel
(self)
simplejson/tests/test_dump.py:271
Method
test_getattr_exception_propagates
(self)
simplejson/tests/test_for_json.py:99
Method
test_import_in_subinterpreter
Verify _speedups can be imported in a subinterpreter.
simplejson/tests/test_subinterpreters.py:32
Method
test_indent
(self)
simplejson/tests/test_indent.py:8
Method
test_indent0
(self)
simplejson/tests/test_indent.py:56
Method
test_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
Method
test_infile_outfile
(self)
simplejson/tests/test_tool.py:80
Method
test_infile_stdout
(self)
simplejson/tests/test_tool.py:69
Method
test_int
(self)
simplejson/tests/test_subclass.py:24
Method
test_int_as_string_bitcount_overflow
(self)
simplejson/tests/test_speedups.py:86
Method
test_ints
(self)
simplejson/tests/test_bigint_as_string.py:23
Method
test_ints
(self)
simplejson/tests/test_bitsize_int_as_string.py:32
Method
test_ints
(self)
simplejson/tests/test_float.py:34
Method
test_ints_outside_range_fails
(self)
simplejson/tests/test_bitsize_int_as_string.py:26
Method
test_invalid_counts
(self)
simplejson/tests/test_bitsize_int_as_string.py:20
Method
test_invalid_escape_sequences
(self)
simplejson/tests/test_unicode.py:115
Method
test_issue3623
(self)
simplejson/tests/test_scanstring.py:139
Method
test_item_sort_key_value
(self)
simplejson/tests/test_item_sort_key.py:22
Method
test_iterable
(self)
simplejson/tests/test_iterable.py:23
Method
test_iterable_as_array_propagates_non_typeerror
(self)
simplejson/tests/test_iterable.py:41
Method
test_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
Method
test_keys_reuse_str
(self)
simplejson/tests/test_decode.py:67
Method
test_keys_reuse_unicode
(self)
simplejson/tests/test_decode.py:71
Method
test_large_dict
Large dict stresses the PyDict_Next iteration path.
simplejson/tests/test_dump.py:396
Method
test_large_list
Large list stresses the indexed fast path.
simplejson/tests/test_dump.py:450
Method
test_list
(self)
simplejson/tests/test_raw_json.py:33
Method
test_list_fast_path_no_leak
The indexed fast path for exact lists must not leak.
simplejson/tests/test_speedups.py:318
Method
test_list_subclass
Slow path: list subclass uses iterator.
simplejson/tests/test_dump.py:420
Method
test_listrecursion
(self)
simplejson/tests/test_recursion.py:21
Method
test_lists
(self)
simplejson/tests/test_bigint_as_string.py:33
← previous
next →
301–400 of 472, ranked by callers