gh-73427: deprecate _enablelegacywindowsfsencoding (#107729)

This commit is contained in:
Inada Naoki 2023-12-28 17:31:19 +09:00 • committed by GitHub
parent 7ab9efdd6a
commit bfee2f77e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 0 deletions

View file

@ -474,6 +474,10 @@ Deprecated
security and functionality bugs. This includes removal of the ``--cgi``
flag to the ``python -m http.server`` command line in 3.15.
* :mod:`sys`: :func:`sys._enablelegacywindowsfsencoding` function.
Replace it with :envvar:`PYTHONLEGACYWINDOWSFSENCODING` environment variable.
(Contributed by Inada Naoki in :gh:`73427`.)
* :mod:`traceback`:
* The field *exc_type* of :class:`traceback.TracebackException` is