summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2022-07-17 01:07:53 (GMT)
committerGitHub <noreply@github.com>2022-07-17 01:07:53 (GMT)
commit6da988a46c8955755624ad9878288d5214fceb4e (patch)
treebc3d48d836bb49b52f76761f776ec8c0440793a2 /Misc
parent2e9da8e3522764d09f1d6054a2be567e91a30812 (diff)
downloadcpython-6da988a46c8955755624ad9878288d5214fceb4e.zip
cpython-6da988a46c8955755624ad9878288d5214fceb4e.tar.gz
cpython-6da988a46c8955755624ad9878288d5214fceb4e.tar.bz2
gh-91181: drop support for bytes on sys.path (GH-31934)
Support for bytes broke sometime between Python 3.2 and 3.6 and has been broken ever since. Trying to bring back supports is surprisingly difficult in the face of -b and checking for keys in sys.path_importer_cache. Since the support was broken for so long, trying to overcome the difficulty of bringing back the support has been deemed not worth it. Co-authored-by: Eryk Sun <eryksun@gmail.com> Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-03-16-14-24-14.bpo-47025.qtT3CE.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-03-16-14-24-14.bpo-47025.qtT3CE.rst b/Misc/NEWS.d/next/Library/2022-03-16-14-24-14.bpo-47025.qtT3CE.rst
new file mode 100644
index 0000000..1c7c7ac
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-03-16-14-24-14.bpo-47025.qtT3CE.rst
@@ -0,0 +1 @@
+Drop support for :class:`bytes` on :attr:`sys.path`.