MCPcopy Create free account

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

Functions989 in github.com/aio-libs/yarl

Functiontest_unquote_ignore
(unquoter: type[_Unquoter], value: str)
tests/test_quoting.py:388
Functiontest_unquote_ignore_non_utf8
(unquoter: type[_Unquoter])
tests/test_quoting.py:511
Functiontest_unquote_ignore_rejected
( unquoter: type[_Unquoter], ignore: str, qs: bool, rejected: str, reason: str )
tests/test_quoting.py:413
Functiontest_unquote_keeps_literal_plus
(unquoter: type[_Unquoter])
tests/test_quoting.py:691
Functiontest_unquote_long_plain_returns_same_object
(unquoter: type[_Unquoter])
tests/test_quoting.py:696
Functiontest_unquote_long_with_plus_only
(unquoter: type[_Unquoter])
tests/test_quoting.py:701
Functiontest_unquote_non_utf8
(unquoter: type[_Unquoter], input: str, expected: str)
tests/test_quoting.py:438
Functiontest_unquote_output_as_long_as_input
( # type: ignore[misc] unquoter: type[_Unquoter], kwargs: dict[str, Any], value: str )
tests/test_quoting.py:714
Functiontest_unquote_plus_non_utf8
(unquoter: type[_Unquoter])
tests/test_quoting.py:515
Functiontest_unquote_plus_to_space
(unquoter: type[_Unquoter])
tests/test_quoting.py:591
Functiontest_unquote_qs_keeps_escaped_delimiters
( unquoter: type[_Unquoter], ignore: str )
tests/test_quoting.py:394
Functiontest_unquote_replace_invalid
( unquoter: type[_Unquoter], value: str, expected: str )
tests/test_quoting.py:504
Functiontest_unquote_runs
( # type: ignore[misc] unquoter: type[_Unquoter], kwargs: dict[str, Any], input: str, expected: str )
tests/test_quoting.py:777
Functiontest_unquote_str_like
(unquoter: type[_Unquoter])
tests/test_quoting.py:575
Functiontest_unquote_to_bytes
(unquoter: type[_Unquoter])
tests/test_quoting.py:160
Functiontest_unquote_unsafe_not_supported
(unquoter: type[_Unquoter])
tests/test_quoting.py:422
Functiontest_unquote_utf8_edges
( unquoter: type[_Unquoter], value: str, expected: str )
tests/test_quoting.py:477
Functiontest_unquote_with_plus_plus_to_space
(unquoter: type[_Unquoter])
tests/test_quoting.py:595
Functiontest_unquote_without_plus_plus
(unquoter: type[_Unquoter])
tests/test_quoting.py:599
Functiontest_unquoter_long_ascii
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:92
Functiontest_unquoter_long_dense_pct
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:127
Functiontest_unquoter_long_pct
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:99
Functiontest_unquoter_output_is_never_longer
( # type: ignore[misc] unquoter: type[_PyUnquoter], pieces: list[str], qs_and_ignore: tuple[bool,
tests/test_quoting_hypothesis.py:292
Functiontest_unquoter_plus_long_plus
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:141
Functiontest_unquoter_plus_long_utf8_text
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:134
Functiontest_unquoter_plus_matches_unquote_plus
( # type: ignore[misc] unquoter: type[_PyUnquoter], pieces: list[str] )
tests/test_quoting_hypothesis.py:357
Functiontest_unquoter_replace_invalid_matches_unquote_plus
( # type: ignore[misc] unquoter: type[_PyUnquoter], pieces: list[str] )
tests/test_quoting_hypothesis.py:366
Functiontest_unquoter_short
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:85
Functiontest_unquoter_very_long_ascii
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:106
Functiontest_unquoter_very_long_ascii_with_pct
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:113
Functiontest_unquoter_very_long_non_ascii
(benchmark: "BenchmarkFixture")
tests/test_quoting_benchmarks.py:120
Functiontest_unquoting
(num: int, unquoter: type[_Unquoter])
tests/test_quoting.py:266
Functiontest_unquoting_bad_percent_escapes
( unquoter: type[_Unquoter], input: str, expected: str )
tests/test_quoting.py:298
Functiontest_unquoting_invalid_utf8_sequence
( unquoter: type[_Unquoter], urlencoded_string: str )
tests/test_quoting.py:316
Functiontest_unquoting_mixed_case_percent_escapes
(unquoter: type[_Unquoter])
tests/test_quoting.py:323
Functiontest_unquoting_parts
(unquoter: type[_Unquoter])
tests/test_quoting.py:331
Functiontest_unquoting_plus
(unquoter: type[_Unquoter])
tests/test_quoting.py:587
Functiontest_unsafe_url_bytes_are_removed
(byte: str)
tests/test_url.py:2726
Functiontest_update_query
()
tests/test_update_query.py:16
Functiontest_update_query_empty
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:404
Functiontest_update_query_mapping
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:379
Functiontest_update_query_mapping_with_existing_query
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:386
Functiontest_update_query_multiple_keys
()
tests/test_update_query.py:367
Functiontest_update_query_none
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:411
Functiontest_update_query_rejects_bytearray
()
tests/test_url_query.py:222
Functiontest_update_query_rejects_bytes
()
tests/test_url_query.py:216
Functiontest_update_query_rejects_invalid_type
()
tests/test_url_query.py:234
Functiontest_update_query_rejects_memoryview
()
tests/test_url_query.py:228
Functiontest_update_query_sequence_mapping
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:395
Functiontest_update_query_string
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:418
Functiontest_update_query_with_args_and_kwargs
()
tests/test_update_query.py:29
Functiontest_update_query_with_empty_dict
()
tests/test_update_query.py:49
Functiontest_update_query_with_mod_operator
()
tests/test_update_query.py:387
Functiontest_update_query_with_multiple_args
()
tests/test_update_query.py:36
Functiontest_update_query_with_non_ascii
()
tests/test_update_query.py:374
Functiontest_update_query_with_non_ascii_as_str
()
tests/test_update_query.py:379
Functiontest_update_query_with_none_arg
()
tests/test_update_query.py:43
Functiontest_update_query_with_sequence_of_pairs
()
tests/test_url_query.py:240
Functiontest_url_build_access_fragment
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:119
Functiontest_url_build_access_raw_host
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:109
Functiontest_url_build_access_raw_path
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:129
Functiontest_url_build_access_username_password
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:98
Functiontest_url_build_encoded_with_host_and_port
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:82
Functiontest_url_build_ipv6
()
tests/test_url_build.py:18
Functiontest_url_build_ipv6_brackets_encoded
()
tests/test_url_build.py:23
Functiontest_url_build_ipv6_brackets_not_encoded
()
tests/test_url_build.py:28
Functiontest_url_build_ipv6_zone_id_bare_percent_round_trip
Programmatic hosts keep the bare ``%`` zone separator. ``_encode_host`` falls back to partitioning on ``%`` when no ``%25`` is present so tha
tests/test_url_build.py:81
Functiontest_url_build_ipv6_zone_id_empty
A bare trailing '%' (empty zone) is rejected per RFC 9844 §6.3.
tests/test_url_build.py:57
Functiontest_url_build_ipv6_zone_id_empty_authority_not_validated
``authority=`` bypasses the empty-zone rejection of ``host=``. The authority path uses ``validate_host=False``; documents the asymmetry with
tests/test_url_build.py:143
Functiontest_url_build_ipv6_zone_id_invalid_chars
Zone IDs with control characters must be rejected by validate_host.
tests/test_url_build.py:46
Functiontest_url_build_ipv6_zone_id_non_ascii_not_ascii_encodable
Non-ASCII zone identifiers make the URL non-ASCII-serializable.
tests/test_url_build.py:136
Functiontest_url_build_ipv6_zone_id_numeric_scope_percent25
A literal ``%25`` in a programmatic host is read as the separator. On Windows, zone identifiers are numeric, so the RFC 4007 literal ``fe80::
tests/test_url_build.py:95
Functiontest_url_build_ipv6_zone_id_reserved_chars_break_round_trip
Reserved characters in a zone produce URLs yarl cannot re-parse. RFC 6874 §2 requires non-unreserved zone characters to be percent-encoded; t
tests/test_url_build.py:122
Functiontest_url_build_ipv6_zone_id_valid
Zone IDs accept any non-CTL text per RFC 4007 §11.2.
tests/test_url_build.py:74
Functiontest_url_build_no_netloc
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:66
Functiontest_url_build_no_netloc_relative
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:73
Functiontest_url_build_with_different_hosts
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:139
Functiontest_url_build_with_host
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:91
Functiontest_url_build_with_host_and_port
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:48
Functiontest_url_build_with_host_path_and_port
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:148
Functiontest_url_build_with_simple_query
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:57
Functiontest_url_equality
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:618
Functiontest_url_extend_query_existing_query_simple_query_dict
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:434
Functiontest_url_extend_query_existing_query_string
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:443
Functiontest_url_extend_query_simple_query_dict
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:425
Functiontest_url_from_url
()
tests/test_url.py:2200
Functiontest_url_hash
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:627
Functiontest_url_host_port_subcomponent
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:704
Functiontest_url_host_with_default_ignorable_rejected
Default-ignorable code points are stripped by IDNA, so reject them. Otherwise ``URL("http://e<ZWSP>vil.com").host`` would collapse to ``evil.
tests/test_url.py:2785
Functiontest_url_ipv4_in_ipv6
()
tests/test_url_build.py:33
Functiontest_url_is_not_str
()
tests/test_url.py:59
Functiontest_url_join
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:577
Functiontest_url_joinpath
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:602
Functiontest_url_joinpath_encoded
(benchmark: "BenchmarkFixture")
tests/test_url_benchmarks.py:584
Functiontest_url_joinpath_encoded_long
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:591
Functiontest_url_joinpath_with_truediv
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:609
Functiontest_url_make_access_fragment
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:247
Functiontest_url_make_access_raw_host
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:227
Functiontest_url_make_access_raw_path
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:257
Functiontest_url_make_access_username_password
( benchmark: "BenchmarkFixture", )
tests/test_url_benchmarks.py:267
← previousnext →701–800 of 989, ranked by callers