mirror of
https://github.com/python/cpython.git
synced 2025-10-26 11:14:33 +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()
|
_byte_quoter_factory.cache_clear()
|
||||||
|
|
||||||
# Helpers for bytes handling
|
# Helpers for bytes handling
|
||||||
# For 3.2, we deliberately require applications that
|
# We deliberately require applications that
|
||||||
# handle improperly quoted URLs to do their own
|
# handle improperly quoted URLs to do their
|
||||||
# decoding and encoding. If valid use cases are
|
# own decoding and encoding.
|
||||||
# presented, we may relax this by using latin-1
|
|
||||||
# decoding internally for 3.3
|
|
||||||
_implicit_encoding = 'ascii'
|
_implicit_encoding = 'ascii'
|
||||||
_implicit_errors = 'strict'
|
_implicit_errors = 'strict'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue