summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-04-19 06:23:03 (GMT)
committerGitHub <noreply@github.com>2018-04-19 06:23:03 (GMT)
commit69524821a87251b7aee966f6e46b3810ff5aaa64 (patch)
treec846e23df670d6fa22ecba626d2280efd222cc86 /Misc
parentb7e1eff8436f6e0c4aac440036092fcf96f82960 (diff)
downloadcpython-69524821a87251b7aee966f6e46b3810ff5aaa64.zip
cpython-69524821a87251b7aee966f6e46b3810ff5aaa64.tar.gz
cpython-69524821a87251b7aee966f6e46b3810ff5aaa64.tar.bz2
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
as docstrings and translatable strings, and rejects bytes literals and f-string expressions.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst b/Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst
new file mode 100644
index 0000000..4d41372
--- /dev/null
+++ b/Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst
@@ -0,0 +1,2 @@
+:program:`pygettext.py` now recognizes only literal strings as docstrings
+and translatable strings, and rejects bytes literals and f-string expressions.