diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-27 05:00:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 05:00:41 (GMT) |
commit | fec35c99aa749bb90cb29349bed6b3393907c4c1 (patch) | |
tree | 2226acb9186019c6106d9e157e0cbca0842ca307 /Misc | |
parent | d9bff4e81b8ca36fe6c4e90c0b9cf02bc020e713 (diff) | |
download | cpython-fec35c99aa749bb90cb29349bed6b3393907c4c1.zip cpython-fec35c99aa749bb90cb29349bed6b3393907c4c1.tar.gz cpython-fec35c99aa749bb90cb29349bed6b3393907c4c1.tar.bz2 |
bpo-33710: Deprecate l*gettext() and related functions in the gettext module. (GH-10139)
They return encoded bytes and are Python 2 artifacts.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-10-26-21-12-55.bpo-33710.Q5oXc6.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-26-21-12-55.bpo-33710.Q5oXc6.rst b/Misc/NEWS.d/next/Library/2018-10-26-21-12-55.bpo-33710.Q5oXc6.rst new file mode 100644 index 0000000..25f0f87 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-10-26-21-12-55.bpo-33710.Q5oXc6.rst @@ -0,0 +1,4 @@ +Deprecated ``l*gettext()`` functions and methods in the :mod:`gettext` +module. They return encoded bytes instead of Unicode strings and are +artifacts from Python 2 times. Also deprecated functions and methods related +to setting the charset for ``l*gettext()`` functions and methods. |