-
- Downloads
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> (cherry picked from commit 6da988a4) Co-authored-by:
Thomas Grainger <tagrain@gmail.com>
Showing
- Doc/library/sys.rst 1 addition, 1 deletionDoc/library/sys.rst
- Doc/reference/import.rst 2 additions, 4 deletionsDoc/reference/import.rst
- Lib/importlib/_bootstrap_external.py 1 addition, 1 deletionLib/importlib/_bootstrap_external.py
- Lib/test/test_zipimport.py 2 additions, 1 deletionLib/test/test_zipimport.py
- Lib/zipimport.py 1 addition, 2 deletionsLib/zipimport.py
- Misc/NEWS.d/next/Library/2022-03-16-14-24-14.bpo-47025.qtT3CE.rst 1 addition, 0 deletions...S.d/next/Library/2022-03-16-14-24-14.bpo-47025.qtT3CE.rst
Loading
Please register or sign in to comment