-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-130195: Remove unimplemented option from pygettext #130196
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
Conversation
Requesting @gvanrossum |
Co-authored-by: Tomas R. <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With those two changes I am fine with this (there's a FIXME comment and you never know when someone decides to volunteer to do so :-).
@warsaw Are we missing anything here? Maybe we should just remove the -a/--extract-all option? Maybe it's already implemented? What is it even supposed to do? Why is it there? Am I asking too many questions? |
Questions are always good ;-) |
@gvanrossum To answer your questions:
It's not, it's currently a noop
AFAICT, it was supposed to be the equivalent of the x = 'foo'
y = {'bar': 'baz'} I suggested to deprecate and eventually remove this option because I don't see much use for this option in the context of a gettext extraction tool. You typically only ever want to extract strings which are marked for extraction (e.g. via Yes, we could always implement it, but personally I don't think it'd be that useful so I think removing it makes more sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!
I don’t think we should backport this, we’d be adding a deprecation retroactively. |
|
-a/--extract-all
#130195