summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-06-20 14:13:29 (GMT)
committerGitHub <noreply@github.com>2017-06-20 14:13:29 (GMT)
commit26cb4657bcc9a7adffa95798ececb588dddfeadb (patch)
treee1ebdeb6ee1f428a739a50933ffef3e6ee141aa8 /Misc
parent8457706ee308a621103e9b9c760ca9da3cc4e7c0 (diff)
downloadcpython-26cb4657bcc9a7adffa95798ececb588dddfeadb.zip
cpython-26cb4657bcc9a7adffa95798ececb588dddfeadb.tar.gz
cpython-26cb4657bcc9a7adffa95798ececb588dddfeadb.tar.bz2
bpo-29755: Fixed the lgettext() family of functions in the gettext module. (#2266)
They now always return bytes. Updated the gettext documentation.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3af74ff..88b1e3e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -368,6 +368,9 @@ Extension Modules
Library
-------
+- bpo-29755: Fixed the lgettext() family of functions in the gettext module.
+ They now always return bytes.
+
- [Security] bpo-30500: Fix urllib.parse.splithost() to correctly parse
fragments. For example, ``splithost('//127.0.0.1#@evil.com/')`` now
correctly returns the ``127.0.0.1`` host, instead of treating ``@evil.com``