[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-10-19 Thread Eryk Sun
Eryk Sun added the comment: PR 20529 looks good to me. Thank you, Tiago. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: I just took a look at the PR and I think it's good, but if anyone else wants to have a look before I merge it (probably not today), please do. -- ___ Python tracker

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-05-29 Thread Tiago Illipronti Girardi
Change by Tiago Illipronti Girardi : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-05-29 Thread Tiago Illipronti Girardi
Change by Tiago Illipronti Girardi : -- nosy: +TIGirardi nosy_count: 7.0 -> 8.0 pull_requests: +19773 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20529 ___ Python tracker

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-11 Thread Eryk Sun
Eryk Sun added the comment: It is not a duplicate of bpo-37945. The tests in test/test__locale.py need to be fixed to work with Windows. In msg354021, I discussed the problem reported with test_lc_numeric_localeconv. The "ps_AF" (Pashto, Afghanistan) item in known_numerics has to be

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-11 Thread STINNER Victor

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-10 Thread Eryk Sun
Eryk Sun added the comment: > On Windows 10 (version 1903), ANSI code page 1252, OEM code page 437, > LC_CTYPE locale "French_France.1252" The CRT default locale (i.e. the empty locale "") uses the user locale, which is the "Format" value on the Region->Formats tab. It does not use the

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: >>> loc=locale.getlocale(locale.LC_CTYPE) >>> loc ('tr_TR', 'ISO8859-9') getlocale() has issues on Unix, but worse issues on Windows. See: * bpo-12726 * bpo-20087 * bpo-20088 * bpo-23425 * bpo-33934 * bpo-38805 I never use getlocale() and I never

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: Details on this error: ERROR: test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) -- Traceback (most recent call last): File "C:\vstinner\python\3.8\lib\test\test_locale.py",

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-07 Thread STINNER Victor
STINNER Victor added the comment: test_locale and test__locale are still failing on my Windows 10 VM. I proposed PR 18403 to skip failing tests on Windows. -- ___ Python tracker

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17779 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18403 ___ Python tracker ___

[issue38324] [Windows] test_locale and test__locale failures on Windows

2019-10-05 Thread Eryk Sun
Eryk Sun added the comment: Terry, the test_winconsoleio problem is issue 38325. Test cases with surrogate pairs that are known to fail in recent builds of Windows 10 have to be split out. For the "ps_AF" locale failure that you noted, in my case with Windows 10 18362, I have to first

[issue38324] [Windows] test_locale and test__locale failures on Windows

2019-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I started a report on failures on my machine a few days ago, but never finished editing. I am pasting in what I wrote so far. The same 4 tests fail today with a rebuild 12 hours ago. --- I ran the test suite on my 64-bit Win10 machine with fresh debug 32

[issue38324] [Windows] test_locale and test__locale failures on Windows

2019-09-30 Thread STINNER Victor
STINNER Victor added the comment: > Also, since these seem to be on your own machine, I'm guessing your locale is > not en-US? Oh, the behavior of setlocale() depends on my system locale? Yeah, my system is configured in French, sorry I don't recall the locale name. --

[issue38324] [Windows] test_locale and test__locale failures on Windows

2019-09-30 Thread Tim Golden
Tim Golden added the comment: This is the existing issue https://bugs.python.org/issue37945 which I haven't had time to progress. Please feel free to follow up -- ___ Python tracker

[issue38324] [Windows] test_locale and test__locale failures on Windows

2019-09-30 Thread Steve Dower
Steve Dower added the comment: This is a known issue (forgetting the number right now) - Linux-style locales don't work on Windows, and so there's a normalization function that has to be completely rewritten. Also, since these seem to be on your own machine, I'm guessing your locale is not

[issue38324] [Windows] test_locale and test__locale failures on Windows

2019-09-30 Thread STINNER Victor
Change by STINNER Victor : -- components: +Tests, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware title: test_locale and test__locale failures on Windows -> [Windows] test_locale and test__locale failures on Windows versions: +Python 3.8, Python 3.9