On 1/9/06, "Martin v. Löwis" <martin at v.loewis.de> wrote: > > > > I would have expected the first call to setlocale() to return de_DE. > > No, it shouldn't. We are providing C semantics here, which is that > no locale functionality is activated unless the application explicitly > asks for it. Thanks (to /f too). That was the part that I was missing. It makes sense now. I made the patch to do this. It's called before each class' test run in regrtest.py. I would prefer to set the locale before each test method run, but I need to muck with unittest for that IIRC. There were 2 failures. One was in test_email which needs the C locale for generating the proper timestamp. The other was (IIRC) in test_re, 2 methods failed. So we are hopefully in decent shape. n
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4