[issue5643] test__locale fails with RADIXCHAR on Windows

2009-05-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Applied in r72365. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pyt

[issue5643] test__locale fails with RADIXCHAR on Windows

2009-05-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think the patch is good to go. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue5643] test__locale fails with RADIXCHAR on Windows

2009-05-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Revised patch against HEAD. (With VC6 workaround) -- Added file: http://bugs.python.org/file13895/py3k_locale_test_on_windows.patch ___ Python tracker __

[issue5643] test__locale fails with RADIXCHAR on Windows

2009-05-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Crashes at Lib/test/test__locale.py(107) test_float_parsing. >>> from _locale import setlocale, LC_NUMERIC >>> setlocale(LC_NUMERIC, 'es_ES.ISO8859-1') (crash) Yes, I agree that workaround should be placed in test rather than _locale module. I'll create suc

[issue5643] test__locale fails with RADIXCHAR on Windows

2009-05-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Probably this patch works on recent VisualC++. But unfortunately, this code crashes on VisualC++6 debug build. :-( This happens when 2nd arg of setlocale contains "." and the length of substring after "." is longer than 8. It seems to be msvcrtd bug. --

[issue5643] test__locale fails with RADIXCHAR on Windows

2009-04-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is now failing because an ImportError in a test doesn't cause the test to be skipped like previously. Someone will have to figure out what part of test__locale are applicable to Windows. -- nosy: +benjamin.peterson priority: -> high __