Skip to content

gh-53950: Clear MESSAGES in msgfmt #133316

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

StanFromIreland
Copy link
Contributor

@StanFromIreland StanFromIreland commented May 2, 2025

@tomasr8
Copy link
Member

tomasr8 commented May 2, 2025

What would be even better is not having a global variable at all, though that would be a larger change and is already partially covered by #10875 I believe.

@StanFromIreland
Copy link
Contributor Author

We can just clear it for now, till the larger change is merged.

@StanFromIreland
Copy link
Contributor Author

Also request @serhiy-storchaka

@merwok merwok requested a review from serhiy-storchaka May 2, 2025 20:03
@merwok
Copy link
Member

merwok commented May 2, 2025

I am unsure about the better fix here. Why not eliminate the global variable if that fixes the problem? Then it will make the other PR smaller.

@StanFromIreland
Copy link
Contributor Author

@merwok I updated the PR with that if that is what you prefer, it is not too bad, the diff is pretty low.

@StanFromIreland StanFromIreland requested a review from merwok May 2, 2025 20:15
@serhiy-storchaka
Copy link
Member

Sharing MESSAGES between files is a (mis-)feature. See #10875 which solves this problem more thoroughly.

@StanFromIreland
Copy link
Contributor Author

Do you mind splitting it from the larger pr, it would simplify it as Eric mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants