]> granicus.if.org Git - python/commit
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 19 Apr 2018 06:23:03 +0000 (09:23 +0300)
committerGitHub <noreply@github.com>
Thu, 19 Apr 2018 06:23:03 +0000 (09:23 +0300)
commit69524821a87251b7aee966f6e46b3810ff5aaa64
treec846e23df670d6fa22ecba626d2280efd222cc86
parentb7e1eff8436f6e0c4aac440036092fcf96f82960
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)

as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
Lib/test/test_tools/test_i18n.py
Misc/NEWS.d/next/Tools-Demos/2018-04-03-18-10-00.bpo-33189.QrXR00.rst [new file with mode: 0644]
Tools/i18n/pygettext.py