You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the issue... it was rather subtle. The code that was supposed to restore the locale was actually broken but nobody ever noticed because it was never executed. The code had a return a bit higher up and the restoring of the locale was not part of the finally clause.
In any case, I'll create a new release fixing this :)
Running functions that use _speedups.ascii_read() - ie. Mesh.from_file() causes change of locale settings:
typically:
The problem apparently lies in:
where the old_locale var gets populated from new_locale and furthermore never changed back
Suggested change:
LINE #21 (add):
locale_t LC_GLOBAL_LOCALE
LINES #109,110
The text was updated successfully, but these errors were encountered: