From d3e3b2b0ac23e30e3d246bd12432c37bccf66f5d Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Sun, 28 Sep 2025 16:55:44 -0500 Subject: [PATCH] Edit outdated comment (#121152) A comment about a possible relaxation of how bytes URLs are treated in Python 3.3 is no longer relevant or useful. --- Lib/urllib/parse.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py index 67d9bbea0d31..c7946d762538 100644 --- a/Lib/urllib/parse.py +++ b/Lib/urllib/parse.py @@ -97,11 +97,9 @@ def clear_cache(): _byte_quoter_factory.cache_clear() # Helpers for bytes handling -# For 3.2, we deliberately require applications that -# handle improperly quoted URLs to do their own -# decoding and encoding. If valid use cases are -# presented, we may relax this by using latin-1 -# decoding internally for 3.3 +# We deliberately require applications that +# handle improperly quoted URLs to do their +# own decoding and encoding. _implicit_encoding = 'ascii' _implicit_errors = 'strict' -- 2.47.3