Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-33189: pygettext.py now accepts only literal strings #6364

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 3, 2018

as docstrings and translatable strings, and rejects bytes literals and f-string expressions.

https://bugs.python.org/issue33189

as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error needs backport to 3.6 labels Apr 3, 2018
@serhiy-storchaka serhiy-storchaka merged commit 6952482 into python:master Apr 19, 2018
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the pygettext-literal-strings branch April 19, 2018 06:23
@bedevere-bot
Copy link

GH-6533 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 19, 2018
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
(cherry picked from commit 6952482)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 19, 2018
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
(cherry picked from commit 6952482)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-6534 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit that referenced this pull request Apr 19, 2018
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
(cherry picked from commit 6952482)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 19, 2018
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
(cherry picked from commit 6952482)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-6535 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit that referenced this pull request Apr 19, 2018
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
(cherry picked from commit 6952482)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants