[New-bugs-announce] [issue9727] Add callbacks to be invoked when locale changes
report at bugs.python.org
Wed Sep 1 00:29:18 CEST 2010
New submission from Nick Coghlan <ncoghlan at gmail.com>:
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)
components: Library (Lib)
title: Add callbacks to be invoked when locale changes
type: feature request
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce