mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)
Automerge-Triggered-By: @tiran
This commit is contained in:
parent
1d541c25c8
commit
fabd7bb8e0
12 changed files with 36 additions and 36 deletions
|
@ -83,7 +83,7 @@ BOM64_BE = BOM_UTF32_BE
|
|||
class CodecInfo(tuple):
|
||||
"""Codec details when looking up the codec registry"""
|
||||
|
||||
# Private API to allow Python 3.4 to blacklist the known non-Unicode
|
||||
# Private API to allow Python 3.4 to denylist the known non-Unicode
|
||||
# codecs in the standard library. A more general mechanism to
|
||||
# reliably distinguish test encodings from other codecs will hopefully
|
||||
# be defined for Python 3.5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue