[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-09-28 Thread Lorenz Mende
Change by Lorenz Mende : -- pull_requests: +16036 pull_request: https://github.com/python/cpython/pull/16456 ___ Python tracker <https://bugs.python.org/issue36

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-08-25 Thread Lorenz Mende
Change by Lorenz Mende : -- keywords: +patch pull_requests: +15175 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15488 ___ Python tracker <https://bugs.python.org/issu

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-06-09 Thread Lorenz Mende
Lorenz Mende added the comment: Did some minor changes with win_utils. Encoding changed to 'oem'. @heckad: does this bugfix work for u? @all: please verify working of the changes with different localizations. thx -- Added file: https://bugs.python.org/file48406/win_utils.py

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-06-09 Thread Lorenz Mende
Change by Lorenz Mende : Removed file: https://bugs.python.org/file48285/win_utils.py ___ Python tracker <https://bugs.python.org/issue36670> ___ ___ Python-bugs-list m

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-24 Thread Lorenz Mende
Lorenz Mende added the comment: Sorry, was off some days. I tried to decode the output with mbcs, solves the issue partly - the counter name is still wrong. Was able to pick the localization specific counter name from registry and use it for the typeperf. But the tests fail after several

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
Lorenz Mende added the comment: Hi Ammar, you are correct. typeperf returns: P:\Repos\CPython\cpython>typeperf "\System\Prozessor-Warteschlangenlänge" -si 1 "(PDH-CSV 4.0)","\\ZERO\System\Prozessor-Warteschlangenlänge" "04/19/2019 19:09:14.510",&qu

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
Change by Lorenz Mende : -- nosy: -ammar2 ___ Python tracker <https://bugs.python.org/issue36670> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
Change by Lorenz Mende : -- nosy: +ammar2 ___ Python tracker <https://bugs.python.org/issue36670> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
New submission from Lorenz Mende : The test suite fails with the first tests (I assume 1st call of getloadavg of WindowsLoadTracker). Traceback (most recent call last): File "P:\Repos\CPython\cpython\lib\runpy.py", line 192, in _run_module_as_main return _run_code(code, main_glo

[issue32409] venv activate.bat is UTF-8 encoded but uses current console codepage

2019-04-09 Thread Lorenz Mende
Change by Lorenz Mende : -- pull_requests: +12669 ___ Python tracker <https://bugs.python.org/issue32409> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34200] importlib: python -m test test_pkg -m test_7 fails randomly

2018-09-03 Thread Lorenz Mende
Lorenz Mende added the comment: @jeremy: nice work The fix works for me reproducable, tests run normal now. Why dont you create a PR? Can someone explain why this issue only came up with parallel tests? -- ___ Python tracker <ht

[issue5038] urrlib2/httplib doesn't reset file position between requests

2018-09-02 Thread Lorenz Mende
Lorenz Mende added the comment: Issue shall be closed, as no reproduction code is provided. No patch provided and no comments since 2015. -- nosy: +LorenzMende ___ Python tracker <https://bugs.python.org/issue5

[issue23949] Number of elements display in error message is wrong while unpacking in traceback

2018-09-02 Thread Lorenz Mende
Lorenz Mende added the comment: This issue shall be closed, as the solution is already on master with 4171bbe687904582329c7977d571686953275b45. -- nosy: +LorenzMende ___ Python tracker <https://bugs.python.org/issue23

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2018-09-02 Thread Lorenz Mende
Lorenz Mende added the comment: I want to bring this issue up again. As the others correctly stated, either the documentation or the implementation of Decimal 'g' formatting is incorrect. For floats the implementation suits the docu: >>> '{:g}'.format(0.1) '1e-05' For decimals:

[issue34200] importlib: python -m test test_pkg -m test_7 fails randomly

2018-09-01 Thread Lorenz Mende
Lorenz Mende added the comment: I was able to reproduce the issue with Win 10, current cpython @master. All sequential test runs are good. With parallel execution a race condition comes up, as Victor already mentioned. I was able to track the issue to the teardown function of the TestCase

[issue25094] [EASY][Windows] test_tools fails on Windows when passing

2018-07-21 Thread Lorenz Mende
Lorenz Mende added the comment: Approving the behaviour on 3.6.5 and fresh cpython-built @master: >From the docs: test_sundry "contains extremely basic regression tests... which >don't have separate tests of their own". IMHO 2to3 can be added to the whitelist of test_su

[issue34144] venv activate.bat reset codepage fails on windows 10

2018-07-18 Thread Lorenz Mende
Change by Lorenz Mende : -- keywords: +patch pull_requests: +7857 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34144> ___ ___ Py

[issue34144] venv activate.bat reset codepage fails on windows 10

2018-07-18 Thread Lorenz Mende
New submission from Lorenz Mende : environment: Windows 10 Pro German/ 1803 cpython @master When running the venv activate.bat the script fails to reset the codepage to the stored. # Parameterformat falsch - 65001. It seems that version 1803 brought a small change to the output of chcp.com

[issue32942] test_script_helper fails on Windows when run from the source code directory

2018-06-30 Thread Lorenz Mende
Lorenz Mende added the comment: I confirm the issue too. I am running the tests on a win 10 Ver 1709, clean build. Most likely the issue is caused by the changes from commit fa9a502a387a26ba116840d35ae4a30f672e78ad at test.support.script_helper The function in test was altered to support

[issue32942] test_script_helper fails on Windows when run from the source code directory

2018-06-30 Thread Lorenz Mende
Change by Lorenz Mende : -- keywords: +patch pull_requests: +7643 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32942> ___ ___ Py