[issue33710] Deprecate gettext.lgettext()

Serhiy Storchaka report at bugs.python.org
Fri Oct 26 14:24:06 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It includes three parts:

* Add the code that emits a DeprecationWarning when corresponding functions and arguments are used. It is important to specify the correct stacklevel argument.

* Add tests and/or modify existing test for catching or silencing a DeprecationWarning.

* Document this change: in the module documentation, in the What's New document, and add a news entry.

PR 10139 implements all this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33710>
_______________________________________


More information about the Python-bugs-list mailing list