Skip to content

Commit

Permalink
gh-91181: Add a What's New entry for dropping bytes support for `sys.…
Browse files Browse the repository at this point in the history
…path` (GH-94918)
  • Loading branch information
brettcannon authored Jul 17, 2022
1 parent c20186c commit ec4745b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,13 @@ Other Language Changes
coerces negative zero to zero after rounding to the format precision. See
:pep:`682` for more details. (Contributed by John Belmonte in :gh:`90153`.)

* Bytes are no longer accepted on :attr:`sys.path`. Support broke sometime
between Python 3.2 and 3.6 with no one noticing until after Python 3.10.0
was released. Bringing back support would also be problematic due to
interactions between :option:`-b` and :attr:`sys.path_importer_cache` when
there is a mixture of strings and bytes keys.
(Contributed by Thomas Grainger in :gh:`91181`.)

Other CPython Implementation Changes
====================================

Expand Down

0 comments on commit ec4745b

Please sign in to comment.