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

fix reverting locale in single_include #119

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jedrezej
Copy link

@jedrezej jedrezej commented Jul 1, 2024

Looks like the author of pull-request #110 didn't change the single include file. This PR complements it.

I verified that this fixes an issue that I encountered in my tool which uses tabulate. The tool is supposed to use "C" locale, but after printing a 'tabulate' table, it gets changed to the environment locale (because format's default locale is "") and then subsequent writes to new files use the environment locale instead of "C".

@p-ranav - if you want I can include the changes from #110 here as well - let me know.

This complements pull-request  p-ranav#110
@p-ranav
Copy link
Owner

p-ranav commented Jul 1, 2024

Yeah please include the changes from #110 and I can merge it all in one-go here. Thanks!

@jedrezej
Copy link
Author

jedrezej commented Jul 2, 2024

@p-ranav Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants