From 3beef899696b2c6c5fbb38f159abe38a55f731ff Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Sat, 29 Jun 2024 08:31:35 -0500 Subject: [PATCH] Remove outdated comment A comment about a possible relaxation of how bytes URLs are treated in Python 3.3 is no longer relevant or useful. Remove it. --- 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 67d9bbea0d3150..c7946d7625386d 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'