]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Edit outdated comment (#121152)
authorJeff Epler <jepler@unpythonic.net>
Sun, 28 Sep 2025 21:55:44 +0000 (16:55 -0500)
committerGitHub <noreply@github.com>
Sun, 28 Sep 2025 21:55:44 +0000 (14:55 -0700)
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

index 67d9bbea0d31503d61871b49ca840ec7d999ab27..c7946d7625386db0b6f9e38019da5b102a326575 100644 (file)
@@ -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'