Skip to content

fix reverting locale in single_include#119

Merged
p-ranav merged 2 commits into
p-ranav:masterfrom
jedrezej:patch-1
May 14, 2025
Merged

fix reverting locale in single_include#119
p-ranav merged 2 commits into
p-ranav:masterfrom
jedrezej:patch-1

Conversation

@jedrezej

@jedrezej jedrezej commented Jul 1, 2024

Copy link
Copy Markdown
Contributor

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

p-ranav commented Jul 1, 2024

Copy link
Copy Markdown
Owner

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

@jedrezej

jedrezej commented Jul 2, 2024

Copy link
Copy Markdown
Contributor Author

@p-ranav Done.

@KyrietS

KyrietS commented May 13, 2025

Copy link
Copy Markdown

@p-ranav is there anything I can do to help you merge this change? It's a really important bug fix for me! Thanks!

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.

3 participants