SIGN IN SIGN UP

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 6da988a46c8955755624ad9878288d5214fceb4e)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
M
Miss Islington (bot) committed
ccbf85382c48f02939b9f84def45265be1dd795f
Parent: e121cb5
Committed by GitHub <noreply@github.com> on 7/17/2022, 1:31:25 AM