Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into privatize-smtpd
  • Loading branch information
arhadthedev authored Jun 23, 2022
commit 38fd57b73de2542589460fb55df970bfa306cdb3
6 changes: 6 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@ Changes in the Python API
select from a larger range than ``randrange(10**25)``.
(Originally suggested by Serhiy Storchaka gh-86388.)

* :class:`argparse.ArgumentParser` changed encoding and error handler
for reading arguments from file (e.g. ``fromfile_prefix_chars`` option)
from default text encoding (e.g. :func:`locale.getpreferredencoding(False) <locale.getpreferredencoding>`)
to :term:`filesystem encoding and error handler`.
Argument files should be encoded in UTF-8 instead of ANSI Codepage on Windows.

* Removed the strictly synchronous ``smtpd`` module, deprecated in Python 3.4.7
and 3.5.4. A recommended replacement is the
:keyword:`async`/:keyword:`await`-based aiosmtpd_ PyPI module.
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.