mirror of
https://github.com/python/cpython.git
synced 2025-10-24 02:13:49 +00:00
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.
This commit is contained in:
parent
195d13c85e
commit
d3e3b2b0ac
1 changed files with 3 additions and 5 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue