Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/multidict
/ functions
Functions
2,179 in github.com/aio-libs/multidict
⨍
Functions
2,179
◇
Types & classes
153
↳
Endpoints
27
Function
test_dealloc_reports_the_address_not_the_object
(watcher: Watcher)
tests/test_capi.py:1159
Function
test_default_sentinel_never_raises
( any_multidict_class: _MD_Classes, pairs: _Pairs, key: str, default: object, )
tests/test_hypothesis_multidict.py:244
Method
test_del
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:184
Method
test_del
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:800
Function
test_del_pop_vs_update_same_key_thread_safety
Regression for #1489 and #1492 (__delitem__/pop()/popall()): a __del__ run mid-walk used to let a concurrent resize free the table md_del() wa
tests/test_multidict.py:2610
Function
test_deleting_duplicates_then_rebuilding
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:210
Function
test_delitem
()
tests/test_mypy.py:198
Function
test_delitem
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:46
Method
test_delitem
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:677
Function
test_delitem_ignores_a_watcher_attached_part_way
(watcher: Watcher)
tests/test_capi.py:891
Function
test_delitem_not_found
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:62
Function
test_delitem_of_a_missing_key_records_nothing
(watcher: Watcher)
tests/test_capi.py:883
Function
test_delitem_removes_every_match
(watcher: Watcher)
tests/test_capi.py:876
Function
test_dict_not_inherited_from_proxy
(multidict_module: types.ModuleType)
tests/test_types.py:28
Function
test_dicts
(multidict_module: types.ModuleType)
tests/test_types.py:20
Function
test_drain_retired_defers_busy_table_thread_safety
Concurrent get()/__getitem__()/__contains__() against a table resized on nearly every insert must not crash. Regression test for the free-thr
tests/test_multidict.py:3123
Function
test_drain_retired_retries_after_pushing_back_thread_safety
A clear() racing reader traffic must release what its table held without waiting for another operation on the multidict. Regression test for
tests/test_multidict.py:2884
Function
test_duplicate_key_hints_only_allocated_when_needed
( any_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:1181
Function
test_duplicates_removed_then_rebuilt
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:236
Function
test_empty
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:31
Function
test_empty_multidict_from_dict_and_kwargs
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:284
Method
test_empty_str_key
(self, cls: type[CIMultiDict[str]])
tests/test_multidict.py:1474
Function
test_eq
(case_insensitive_str_class: type[str])
tests/test_istr.py:129
Method
test_eq
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:938
Method
test_eq
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:486
Method
test_eq2
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:491
Method
test_eq3
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:497
Method
test_eq_bad_mapping_getitem
( self, cls: type[MultiDict[int]] | type[CIMultiDict[int]], )
tests/test_multidict.py:530
Method
test_eq_bad_mapping_len
( self, cls: type[MultiDict[int]] | type[CIMultiDict[int]] )
tests/test_multidict.py:512
Function
test_eq_is_order_sensitive
( case_sensitive_multidict_class: type[MultiDict[object]], pairs: _Pairs )
tests/test_hypothesis_multidict.py:270
Method
test_eq_other_mapping_contains_more_keys
( self, cls: type[MultiDict[str]], )
tests/test_multidict.py:503
Function
test_eq_value_mutates_dict
( any_multidict_class: type[MultiDict[object]], side: str )
tests/test_mutable_multidict.py:1300
Function
test_every_mutation_changes_version_across_blocks
( any_multidict_class: type[MultiDict[str]], multidict_getversion_callable: GetVersion[str], )
tests/test_version.py:337
Function
test_every_watcher_slot_gets_its_own_events
(api: object)
tests/test_capi.py:1203
Function
test_exposed_names
(any_multidict_class_name: str)
tests/test_multidict.py:72
Method
test_extend
( self, case_sensitive_multidict_class: type[MultiDict[str | int]], )
tests/test_mutable_multidict.py:129
Method
test_extend
( self, case_insensitive_multidict_class: type[CIMultiDict[str | int]], )
tests/test_mutable_multidict.py:744
Function
test_extend_batches_one_added_per_pair
(watcher: Watcher)
tests/test_capi.py:909
Function
test_extend_does_not_alter_refcount
Test that extending a MultiDict with a MultiDict does not alter the refcount of the original.
tests/test_multidict.py:1722
Function
test_extend_from_multidict_with_duplicates
( any_multidict_class: _MD_Classes, )
tests/test_keys_dedup.py:260
Method
test_extend_from_proxy
( self, case_sensitive_multidict_class: type[MultiDict[str]], case_sensitive_multidict
tests/test_mutable_multidict.py:161
Method
test_extend_from_proxy
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], case_insensitive_mul
tests/test_mutable_multidict.py:777
Function
test_extend_mapping
()
tests/test_mypy.py:227
Function
test_extend_self
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:277
Function
test_extend_update_merge_self_reference
Updating a multidict from itself must not crash. The C extension cached a raw pointer into the source table and then inserted into the destin
tests/test_multidict.py:3615
Method
test_extend_with_istr
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], case_insensitive_str
tests/test_mutable_multidict.py:918
Function
test_extend_with_itself
( any_multidict_class: type[MultiDict[int]], any_multidict_proxy_class: type[MultiDictProxy[int]],
tests/test_multidict.py:1735
Function
test_finalizer_mutation_matches_pure_python
( cls_name: str, side: str, method: str, action: str )
tests/test_finalizer_reentrancy.py:121
Method
test_folding_that_does_not_preserve_length_or_plane
``İ`` lowers to two code points and the Adlam capital is non-BMP, so neither key may be folded as if it were a byte string.
tests/test_multidict.py:1486
Function
test_forward_iteration_matches_insertion_order
( any_multidict_class: _MD_Classes, any_multidict_class_name: str, pairs: _Pairs )
tests/test_hypothesis_views.py:57
Function
test_freed_blocks_are_reused
The pools are actually used, not just correct when bypassed. A batch built on a pool an identical batch has just filled takes fewer blocks fr
tests/test_freelist.py:257
Function
test_from_dict_with_an_equal_str_subclass_key
( any_multidict_class: _MD_Classes, subclass_first: bool )
tests/test_keys_dedup.py:355
Function
test_from_kwargs_with_an_equal_str_subclass_key
( any_multidict_class: _MD_Classes, subclass_first: bool )
tests/test_keys_dedup.py:371
Method
test_from_md_and_kwds
(self, cls: type[CIMultiDict[str]])
tests/test_multidict.py:1022
Function
test_generic_alias
(multidict_module: types.ModuleType)
tests/test_types.py:299
Function
test_generic_type_in_runtime
()
tests/test_abc.py:30
Function
test_get
()
tests/test_mypy.py:35
Method
test_get
(self, cls: type[MultiDict[int]])
tests/test_multidict.py:919
Method
test_get
(self, cls: type[CIMultiDict[int]])
tests/test_multidict.py:1039
Function
test_get_args
( multidict_object: MultiDict[int], tested_method_args: InvalidTestedMethodArgs, )
tests/test_incorrect_args.py:79
Function
test_get_default
()
tests/test_mypy.py:55
Function
test_get_include_returns_directory_with_capi_headers
()
tests/test_get_include.py:6
Function
test_get_lock_free_thread_safety
Concurrent get()/getone()/__getitem__ alongside heavy add()/pop() churn must not crash. Regression test for the free-threaded build: get(
tests/test_multidict.py:2308
Function
test_get_referents_reports_each_entry_once
The collector must be told about every key and value exactly once. multidict_tp_traverse() reports the entries of the tables waiting on md->retir
tests/test_multidict.py:2952
Function
test_get_type
(api: object, name: str, cls: object)
tests/test_capi.py:61
Function
test_getall
()
tests/test_mypy.py:115
Method
test_getall
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:47
Method
test_getall
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:646
Method
test_getall
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:896
Method
test_getall
(self, cls: type[CIMultiDict[str]])
tests/test_multidict.py:1028
Function
test_getall_args
( multidict_object: MultiDict[int], tested_method_args: InvalidTestedMethodArgs, )
tests/test_incorrect_args.py:57
Function
test_getall_default
()
tests/test_mypy.py:135
Function
test_getall_in_insertion_order_after_mixed_mutations
getall() skips a repeated probe slot by its entry index alone.
tests/test_mutable_multidict.py:1145
Function
test_getall_large_table
(any_multidict_class: type[MultiDict[int]])
tests/test_update_marks.py:57
Function
test_getall_lock_free_vs_duplicates_thread_safety
getall() reads a table without duplicate keys lock-free; a writer adding and dropping a second value must never make it miss either.
tests/test_multidict.py:2435
Function
test_getall_popall_gc_finalizer_mutates
Building the result list can run a GC (synchronously before 3.12), and a finalizer there that grows the table used to make getall() raise Runt
tests/test_multidict.py:2567
Function
test_getall_popall_many_values_keep_order
Enough values to spill the C impl's collector into several heap blocks, which are chained newest first; the result must still come back in ins
tests/test_multidict.py:2599
Function
test_getall_popall_to_dict
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:247
Method
test_getall_through_base_class
( self, case_sensitive_multidict_class: type[MultiDict[str]], case_insensitive_multidi
tests/test_mutable_multidict.py:619
Function
test_getall_too_many_args_reports_a_range
``getall()`` has an optional second argument, so it takes a range.
tests/test_incorrect_args.py:201
Function
test_getall_update_vs_lock_free_reads_thread_safety
Concurrent getall()/update() alongside lock-free contains()/get() on the same, never-deleted keys must not crash and must never observe a pres
tests/test_multidict.py:2391
Function
test_getitem
()
tests/test_mypy.py:15
Function
test_getone
()
tests/test_mypy.py:75
Method
test_getone
(self, cls: type[MultiDict[str]])
tests/test_multidict.py:238
Function
test_getone_args
( multidict_object: MultiDict[int], tested_method_args: InvalidTestedMethodArgs, )
tests/test_incorrect_args.py:68
Function
test_getone_default
()
tests/test_mypy.py:95
Function
test_getversion_bad_param
(multidict_getversion_callable: GetVersion[str])
tests/test_version.py:15
Function
test_getversion_keeps_all_64_bits
(version: int)
tests/test_version.py:394
Function
test_growing_back_over_a_freed_table
Shrinking and regrowing walks the size classes in both directions.
tests/test_freelist.py:99
Function
test_guard_items
( case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_guard.py:8
Function
test_guard_items_update_existing_key
(any_multidict_class: _MD_Classes)
tests/test_guard.py:47
Function
test_guard_keys
( case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_guard.py:18
Function
test_guard_keys_update_existing_key
(any_multidict_class: _MD_Classes)
tests/test_guard.py:55
Function
test_guard_mutate_before_first_next
( any_multidict_class: _MD_Classes, get_iterator: object, mutate: object, )
tests/test_guard.py:90
Function
test_guard_update_existing_key
(any_multidict_class: _MD_Classes)
tests/test_guard.py:38
Function
test_guard_values
( case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_guard.py:28
Function
test_guard_values_update_existing_key
(any_multidict_class: _MD_Classes)
tests/test_guard.py:63
Function
test_hash_is_the_identity_hash
(watcher: Watcher)
tests/test_capi.py:841
Function
test_hash_raises_typeerror
(any_multidict_class: _MD_Classes, pairs: _Pairs)
tests/test_hypothesis_multidict.py:262
Function
test_huge_length_hint_is_capped
A hint reserves no more than the largest table the constructor presizes, 2**17 slots, so a wild one costs neither a :exc:`MemoryError` nor a g
tests/test_multidict.py:3877
← previous
next →
1,501–1,600 of 2,179, ranked by callers