We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sys.path
1 parent c20186c commit ec4745bCopy full SHA for ec4745b
Doc/whatsnew/3.11.rst
@@ -383,6 +383,13 @@ Other Language Changes
383
coerces negative zero to zero after rounding to the format precision. See
384
:pep:`682` for more details. (Contributed by John Belmonte in :gh:`90153`.)
385
386
+* Bytes are no longer accepted on :attr:`sys.path`. Support broke sometime
387
+ between Python 3.2 and 3.6 with no one noticing until after Python 3.10.0
388
+ was released. Bringing back support would also be problematic due to
389
+ interactions between :option:`-b` and :attr:`sys.path_importer_cache` when
390
+ there is a mixture of strings and bytes keys.
391
+ (Contributed by Thomas Grainger in :gh:`91181`.)
392
+
393
Other CPython Implementation Changes
394
====================================
395
0 commit comments