https://github.com/python/cpython/commit/d3e3b2b0ac23e30e3d246bd12432c37bccf66f5d
commit: d3e3b2b0ac23e30e3d246bd12432c37bccf66f5d
branch: main
author: Jeff Epler <[email protected]>
committer: hauntsaninja <[email protected]>
date: 2025-09-28T14:55:44-07:00
summary:

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.

files:
M Lib/urllib/parse.py

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'
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to