summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2021-05-30 01:29:45 (GMT)
committerGitHub <noreply@github.com>2021-05-30 01:29:45 (GMT)
commit14ba761078b5ae83519e34d66ab883743912c45b (patch)
treeb7bb5b3db8655c783730cc4f7d07612b9cc50527 /Doc/whatsnew
parent5ffa58cb97ddc6d36c8c2c94d86d58aac95406b7 (diff)
downloadcpython-14ba761078b5ae83519e34d66ab883743912c45b.zip
cpython-14ba761078b5ae83519e34d66ab883743912c45b.tar.gz
cpython-14ba761078b5ae83519e34d66ab883743912c45b.tar.bz2
bpo-44235: Remove deprecated functions in the gettext module. (GH-26378)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 9058b26..a178095 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -169,3 +169,15 @@ Removed
Use the new :c:type:`PyConfig` API of the :ref:`Python Initialization Configuration
<init-config>` instead (:pep:`587`).
(Contributed by Victor Stinner in :issue:`44113`.)
+
+* The following deprecated functions and methods are removed in the :mod:`gettext`
+ module: :func:`~gettext.lgettext`, :func:`~gettext.ldgettext`,
+ :func:`~gettext.lngettext` and :func:`~gettext.ldngettext`.
+
+ Function :func:`~gettext.bind_textdomain_codeset`, methods
+ :meth:`~gettext.NullTranslations.output_charset` and
+ :meth:`~gettext.NullTranslations.set_output_charset`, and the *codeset*
+ parameter of functions :func:`~gettext.translation` and
+ :func:`~gettext.install` are also removed, since they are only used for
+ the ``l*gettext()`` functions.
+ (Contributed by Dong-hee Na and Serhiy Storchaka in :issue:`44235`.) \ No newline at end of file