[Python-Dev] Dealing with test__locale failure on OS X before a3

Brett C. bac at OCF.Berkeley.EDU
Fri Aug 27 03:54:06 CEST 2004


Nick Bastin wrote:

> 
> I think we should actually just fix this, rather than removing locale 
> support for MacOS X builds.  The trick is that we need to call 
> __setonlyClocaleconv() again, to remove the protection against calling 
> setlocale() in framework builds (why they did this in the first place is 
> beyond me).  Seems like it should be an easy gate against darwin, and 
> then call that on startup.
> 

I don't like that solution since that function is obviously not part of 
any public API.

-Brett


More information about the Python-Dev mailing list