summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-04-05 15:15:11 (GMT)
committerGitHub <noreply@github.com>2022-04-05 15:15:11 (GMT)
commit75280944e5ca957eec7f814b9d0608fc84fc5811 (patch)
tree879559411334a9000cd26cb9d8913519fa7e558a /Doc
parentcfb849a326e52a4edc577112ebf60e1d9d0d7fdb (diff)
downloadcpython-75280944e5ca957eec7f814b9d0608fc84fc5811.zip
cpython-75280944e5ca957eec7f814b9d0608fc84fc5811.tar.gz
cpython-75280944e5ca957eec7f814b9d0608fc84fc5811.tar.bz2
bpo-46607: Add DeprecationWarning for LegacyInterpolation, deprecated in docs since 3.2 (GH-30927)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.11.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index c312645..537fa49 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -590,6 +590,12 @@ Deprecated
(Contributed by Hugo van Kemenade in :issue:`45173`.)
+* :class:`configparser.LegacyInterpolation` has been deprecated in the docstring
+ since Python 3.2. It now emits a :exc:`DeprecationWarning` and will be removed
+ in Python 3.13. Use :class:`configparser.BasicInterpolation` or
+ :class:`configparser.ExtendedInterpolation instead.
+ (Contributed by Hugo van Kemenade in :issue:`46607`.)
+
* The :func:`locale.getdefaultlocale` function is deprecated and will be
removed in Python 3.13. Use :func:`locale.setlocale`,
:func:`locale.getpreferredencoding(False) <locale.getpreferredencoding>` and