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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-06-18.06:16:34.977>created_at=<Date2010-08-31.22:29:14.863>labels= ['type-feature', 'library']
title='Add callbacks to be invoked when locale changes'updated_at=<Date2014-06-18.06:16:34.975>user='https://github.com/ncoghlan'
As part of the PEP-384 discussion, it was noted that one of the problems with mixed C runtimes on Windows is that each C runtime in the process has it's own idea of the current locale setting.
This can be addressed to some degree by having extension modules query and modify the Python interpreter's locale setting rather than the C runtime setting, but doesn't help those modules react to *changes* in the setting.
Would it be worth adding a callback registration mechanism to the locale module to allow modules to be notified when the locale changes? (It seems like this may be useful even outside the context of PEP-384, e.g. to dynamically update displays in GUI applications)
It ended up there were more serious problems with mixing runtimes on
Windows (especially around file descriptors), so this likely wouldn't help
much in practice.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: