From: Jeff Epler Date: Sun, 28 Sep 2025 21:55:44 +0000 (-0500) Subject: Edit outdated comment (#121152) X-Git-Tag: v3.15.0a1~188 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3e3b2b0ac23e30e3d246bd12432c37bccf66f5d;p=thirdparty%2FPython%2Fcpython.git 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. --- 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'