Message115281
| Author |
ncoghlan |
| Recipients |
ncoghlan |
| Date |
2010年08月31日.22:29:14 |
| SpamBayes Score |
1.7635087e-06 |
| Marked as misclassified |
No |
| Message-id |
<1283293758.47.0.775705269917.issue9727@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年08月31日 22:29:18 | ncoghlan | set | recipients:
+ ncoghlan |
| 2010年08月31日 22:29:18 | ncoghlan | set | messageid: <1283293758.47.0.775705269917.issue9727@psf.upfronthosting.co.za> |
| 2010年08月31日 22:29:14 | ncoghlan | link | issue9727 messages |
| 2010年08月31日 22:29:14 | ncoghlan | create |
|