MCPcopy Create free account

hub / github.com/aio-libs/multidict / functions

Functions2,179 in github.com/aio-libs/multidict

Methodtest_pop_lowercase
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:887
Methodtest_pop_raises
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:356
Methodtest_pop_raises
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:907
Functiontest_popall
()
tests/test_mypy.py:268
Functiontest_popall
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:240
Methodtest_popall
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:431
Functiontest_popall_args
( multidict_object: MultiDict[int], tested_method_args: InvalidTestedMethodArgs, )
tests/test_incorrect_args.py:134
Functiontest_popall_batches_one_deleted_per_value
(watcher: Watcher)
tests/test_capi.py:930
Functiontest_popall_default
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:256
Methodtest_popall_default
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:443
Functiontest_popall_key_error
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:272
Methodtest_popall_key_error
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:450
Functiontest_popall_lock_free_get_thread_safety
Concurrent popall() alongside lock-free get() must not crash. Regression test for the free-threaded build: popall() (like popone()/__delitem_
tests/test_multidict.py:2350
Functiontest_popitem
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:289
Methodtest_popitem
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:261
Methodtest_popitem
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:830
Methodtest_popitem2
( self, case_sensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:284
Methodtest_popitem_add_from_key_finalizer
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:856
Functiontest_popitem_collection_mutates
On 3.11, building popitem()'s result can run a collection whose finalizers mutate the multidict. `delay` moves the collection across the alloc
tests/test_mutable_multidict.py:1479
Functiontest_popitem_deletes
(watcher: Watcher)
tests/test_capi.py:944
Methodtest_popitem_empty_multidict
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:298
Methodtest_popitem_empty_multidict
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_mutable_multidict.py:843
Methodtest_popitem_istr_key
( self, case_insensitive_multidict_class: type[CIMultiDict[str]], case_insensitive_str
tests/test_mutable_multidict.py:634
Functiontest_popitem_key_error
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:305
Methodtest_popitem_returns_stored_key
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:273
Methodtest_popitem_then_add_reuses_the_tail
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:307
Functiontest_popitem_thread_safety
Concurrent popitem() alongside update() must not crash or corrupt state. The pure-Python implementation used to pop an entry off the end of
tests/test_multidict.py:2009
Functiontest_popone
()
tests/test_mypy.py:253
Functiontest_popone
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:142
Functiontest_popone_args
( multidict_object: MultiDict[int], tested_method_args: InvalidTestedMethodArgs, )
tests/test_incorrect_args.py:112
Functiontest_popone_default
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:158
Functiontest_popone_deletes
(watcher: Watcher)
tests/test_capi.py:937
Functiontest_popone_key_error
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_version.py:174
Functiontest_popone_vs_popall
(any_multidict_class: _MD_Classes, pairs: _Pairs)
tests/test_hypothesis_multidict.py:229
Methodtest_preserve_stable_ordering
( self, cls: type[MultiDict[str | int]], )
tests/test_multidict.py:910
Functiontest_proxies
(multidict_module: types.ModuleType)
tests/test_types.py:13
Functiontest_proxies_round_trip
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]], )
tests/test_freelist.py:206
Functiontest_proxy
( any_multidict_class: _MD_Classes, any_multidict_proxy_class: type[MultiDictProxy[str]], )
tests/test_keys_dedup.py:117
Methodtest_proxy__repr___recursive
( self, any_multidict_class: type[MultiDict[object]], any_multidict_proxy_class: type[
tests/test_multidict.py:883
Functiontest_proxy_copy
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]], )
tests/test_multidict.py:96
Functiontest_proxy_copy_is_mutable_and_independent
( any_multidict_class: _MD_Classes, any_multidict_proxy_class: type[MultiDictProxy[object]], pairs
tests/test_hypothesis_multidict.py:377
Functiontest_proxy_inheritance
( any_multidict_proxy_class: type[MultiDictProxy[str]], )
tests/test_abc.py:23
Functiontest_proxy_is_a_live_view
( any_multidict_class: _MD_Classes, any_multidict_proxy_class: type[MultiDictProxy[object]], pairs
tests/test_hypothesis_multidict.py:362
Functiontest_proxy_new_without_init
( api: object, dict_cls: type[MultiDictStr], proxy_cls: type[multidict.MultiDictProxy[str]], )
tests/test_capi.py:258
Functiontest_proxy_not_inherited_from_dict
(multidict_module: types.ModuleType)
tests/test_types.py:24
Functiontest_proxy_pickle_raises
( any_multidict_class: _MD_Classes, any_multidict_proxy_class: type[MultiDictProxy[object]], pairs
tests/test_hypothesis_multidict.py:391
Functiontest_proxy_reinitialization_releases_old_target
( multidict_module: types.ModuleType, dict_class_name: str, proxy_class_name: str, )
tests/test_types.py:88
Functiontest_pure_python_clear_thread_safety
Concurrent clear() alongside extend() must not crash or corrupt state, on a free-threaded build and on a plain GIL-enabled one alike: see `_pu
tests/test_multidict.py:3277
Functiontest_pure_python_extend_reentrant_no_deadlock
extend()/update()/merge() reading an argument that calls back into the same, already-locked multidict must not deadlock. A `SupportsKeys` arg
tests/test_multidict.py:3532
Functiontest_pure_python_identity_exactness
()
tests/test_multidict.py:4222
Functiontest_pure_python_locking_is_free_threaded_only
Methods whose only race is free-threading-specific must be the exact same function objects as their unlocked implementations on a GIL-enabled
tests/test_multidict.py:3553
Functiontest_pure_python_parse_args_size_hint_with_mapping_and_kwargs
Same regression but exercising the mapping (``keys()``) branch.
tests/test_update.py:177
Functiontest_pure_python_parse_args_size_hint_with_md_and_kwargs
``MultiDict`` positional argument already yields the correct hint.
tests/test_update.py:190
Functiontest_pure_python_parse_args_size_hint_with_seq_and_kwargs
Regression test for pure-Python ``_parse_args`` size hint. When a positional iterable and keyword arguments are both supplied, ``_parse_args`
tests/test_update.py:157
Functiontest_pure_python_popitem_thread_safety
Concurrent popitem() alongside update() must not crash or corrupt state, on a free-threaded build and on a plain GIL-enabled one alike: see `_
tests/test_multidict.py:3294
Functiontest_pure_python_reciprocal_raw_iterator_ops_no_deadlock
Same as `test_pure_python_reciprocal_view_ops_no_deadlock`, but with the `other` argument passed as a bare `iter(view)` rather than the view i
tests/test_multidict.py:3443
Functiontest_pure_python_reciprocal_view_ops_no_deadlock
`a.items() & b.items()` racing `b.items() & a.items()` (and the same for the other set-algebra ops) must not deadlock. Regression test: a vie
tests/test_multidict.py:3396
Functiontest_pure_python_reinit_thread_safety
Concurrent __init__() alongside other methods must not crash, and must keep using the same lock across a re-init on a published, shared instan
tests/test_multidict.py:3315
Functiontest_pure_python_repr_reentrant_thread_safety
`repr()` calling back into the same, already-locked multidict must not deadlock: the per-instance lock is an RLock precisely so a callback lik
tests/test_multidict.py:3515
Functiontest_pure_python_single_item_ops_thread_safety
Concurrent add()/__setitem__/__delitem__/pop()/popitem()/setdefault() alongside __getitem__/__contains__/len()/iteration must not crash.
tests/test_multidict.py:3198
Functiontest_pure_python_update_extend_merge_thread_safety
Concurrent update()/extend()/merge() must not crash or corrupt state, on a free-threaded build and on a plain GIL-enabled one alike: see `_pur
tests/test_multidict.py:3252
Functiontest_pure_python_version_thread_safety
Concurrently mutating independent multidicts must never hand out the same version number twice: the version counter is shared by every instanc
tests/test_multidict.py:3483
Functiontest_pure_python_view_set_ops_thread_safety
Concurrent items()/keys() set-algebra (&, |, -, ^, in, isdisjoint()) alongside mutation must not crash.
tests/test_multidict.py:3337
Functiontest_race_condition_extend_vs_source_mutation
Test that reading a second multidict is safe while that one mutates. ``md_update_from_ht()`` takes a raw ``entry_t *`` into the *source* mult
tests/test_free_threading.py:95
Functiontest_race_condition_getversion_vs_mutation
getversion() reads ``md->version`` without taking the object's critical section, so it races a writer bumping that same field under the lock o
tests/test_free_threading.py:167
Functiontest_race_condition_iterator_vs_mutation
Test that concurrent iterations and mutations do not cause a memory safety violation. This test specifically triggers use-after-free scenarios if
tests/test_free_threading.py:17
Functiontest_read_second_covers_every_op
Deterministic coverage for every `_read_second` branch; see `test_run_op_covers_every_op` above for why this can't rely on `test_cross_object_
tests/test_hypothesis_concurrency.py:171
Functiontest_readded_key_keeps_earlier_spelling
( case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_keys_dedup.py:70
Functiontest_reader_exit_drains_retired_thread_safety
A retired hash table must eventually be freed by reader traffic alone, with no further mutation. Regression test for aio-libs/multidict#1443.
tests/test_multidict.py:2753
Functiontest_reading_records_nothing
(watcher: Watcher)
tests/test_capi.py:1052
Functiontest_reciprocal_covers_every_op
Deterministic coverage for every `_reciprocal` branch: unlike `test_reciprocal_ops_no_deadlock` below, this always runs, since that test itsel
tests/test_hypothesis_concurrency.py:260
Functiontest_reciprocal_ops_no_deadlock
(ops: list[_ReciprocalOp])
tests/test_hypothesis_concurrency.py:273
Functiontest_recording_out_of_memory_reports_one_lost_event
( watcher: Watcher, monkeypatch: pytest.MonkeyPatch )
tests/test_capi.py:1367
Functiontest_registration_churn_races_delivery
(api: object)
tests/test_capi.py:1127
Functiontest_reinit_finalizer_sees_and_keeps_new_contents
( any_multidict_class: type[MultiDict[object]], multidict_module: ModuleType, source: str, clo
tests/test_mutable_multidict.py:1403
Functiontest_reinit_finalizer_vs_lock_free_readers
Re-initialize a shared multidict whose old values have a __del__ that reads and adds to it, while other threads read it. On free-threaded bui
tests/test_free_threading.py:276
Functiontest_reinit_multidict_from_same_kind
( benchmark: BenchmarkFixture, any_multidict_class: type[MultiDict[str]] )
tests/test_multidict_benchmarks.py:864
Functiontest_reinit_multidict_from_same_kind_small
( benchmark: BenchmarkFixture, any_multidict_class: type[MultiDict[str]] )
tests/test_multidict_benchmarks.py:875
Functiontest_reinit_multidict_proxy_missing_arg
( multidict_module: types.ModuleType, dict_class_name: str, proxy_class_name: str, )
tests/test_types.py:135
Functiontest_reinit_multidict_with_items
( benchmark: BenchmarkFixture, any_multidict_class: type[MultiDict[str]] )
tests/test_multidict_benchmarks.py:842
Functiontest_reinit_multidict_with_items_small
( benchmark: BenchmarkFixture, any_multidict_class: type[MultiDict[str]] )
tests/test_multidict_benchmarks.py:853
Functiontest_reinit_thread_safety
Concurrent __init__() alongside other methods must not crash. Regression test for a free-threaded-build crash flagged in review: __init__() u
tests/test_multidict.py:2083
Functiontest_reinitialize_from_itself_with_kwargs
( any_multidict_class: type[MultiDict[str]], any_multidict_proxy_class: type[MultiDictProxy[str]],
tests/test_multidict.py:1706
Functiontest_reinitialize_releases_previous_values
( any_multidict_class: type[MultiDict[object]], )
tests/test_multidict.py:1678
Functiontest_remove_all_keeps_what_a_finalizer_adds
( any_multidict_class: type[MultiDict[object]], method: str, side: str, )
tests/test_mutable_multidict.py:1524
Functiontest_removed_slots_then_duplicate
(any_multidict_class: _MD_Classes)
tests/test_keys_dedup.py:218
Functiontest_replace_many_duplicates_releases_all
Enough replaced duplicates to overflow the free-threaded build's deferred-decref buffer into several heap blocks; every old value must still b
tests/test_multidict.py:2540
Functiontest_replaced_first_entry_spelling
( case_insensitive_multidict_class: type[CIMultiDict[str]], )
tests/test_keys_dedup.py:80
Methodtest_replacement_order
( self, case_sensitive_multidict_class: type[MultiDict[str]], )
tests/test_mutable_multidict.py:367
Methodtest_repr_aiohttp_issue_410
(self, cls: type[MutableMultiMapping[str]])
tests/test_multidict.py:673
Functiontest_repr_raises_when_mutated_during_iteration
`repr()` of a MultiDict whose value mutates it mid-iteration raises RuntimeError (and, in the C extension, must not leak the writer).
tests/test_multidict.py:1837
Functiontest_repr_raises_when_resized_during_iteration
A failed extend() grows the table but adds nothing; on GIL builds that resize kept the version, and repr() read the freed entries.
tests/test_multidict.py:1854
Methodtest_repr_with_dummy
( self, case_sensitive_multidict_class: type[MultiDict[int]] )
tests/test_mutable_multidict.py:504
Methodtest_reversed_after_del
( self, case_sensitive_multidict_class: type[MultiDict[int]], )
tests/test_mutable_multidict.py:198
Methodtest_reversed_empty
( self, cls: type[MultiDict[int]] | type[CIMultiDict[int]], )
tests/test_multidict.py:786
Methodtest_reversed_items
( self, cls: type[MultiDict[int | str]] | type[CIMultiDict[int | str]], )
tests/test_multidict.py:775
Functiontest_reversed_iterator_matches_reversed_list
( any_multidict_class: _MD_Classes, pairs: _Pairs )
tests/test_hypothesis_iters.py:75
Methodtest_reversed_keys
( self, cls: type[MultiDict[int | str]] | type[CIMultiDict[int | str]], )
tests/test_multidict.py:761
Methodtest_reversed_length_hint
( self, cls: type[MultiDict[int]] | type[CIMultiDict[int]], )
tests/test_multidict.py:795
Functiontest_reversed_matches_reversed_list
( any_multidict_class: _MD_Classes, pairs: _Pairs )
tests/test_hypothesis_views.py:69
← previousnext →1,901–2,000 of 2,179, ranked by callers