Doc/deprecations/pending-removal-in-3.20.rst
Calling the __new__() method of :class:struct.Struct without the
format argument is deprecated and will be removed in Python 3.20. Calling
:meth:~object.__init__ method on initialized :class:~struct.Struct
objects is deprecated and will be removed in Python 3.20.
(Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:143715.)
The __version__, version and VERSION attributes have been
deprecated in these standard library modules and will be removed in
Python 3.20. Use :py:data:sys.version_info instead.
argparsecsvctypes!ctypes.macholibdecimal (use :data:decimal.SPEC_VERSION instead)http.serverimaplibipaddressjsonlogging (__date__ also deprecated)optparsepickleplatformresocketservertabnannytarfiletkinter.fonttkinter.ttkwsgiref.simple_serverxml.etree.ElementTree!xml.sax.expatreaderxml.sax.handlerzlib(Contributed by Hugo van Kemenade and Stan Ulbrych in :gh:76007.)
Deprecations defined by :pep:829:
Warnings are produced for import lines found in :file:{name}.pth
files.
:file:{name}.pth files are no longer decoded in the locale encoding by
default. They MUST be encoded in utf-8-sig.
(Contributed by Barry Warsaw in :gh:148641.)
:mod:ast:
ast.AST
or :class:!ast.expr) is deprecated and will raise an error in Python 3.20.