[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d0204963ec87beb9732e924e464b8a6a1ef4d341 by Pablo Galindo in branch 'master': bpo-43231: Correctly calculate the curses color pair limit when checking for it (GH-24541) https://github.com/python/cpython/commit/d0204963ec87beb9732e924e464

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23327 pull_request: https://github.com/python/cpython/pull/24541 ___ Python tracker ___ ___

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ab2d48163901c9635401db0f6d784c45482d17ec by Pablo Galindo in branch 'master': bpo-43231: Fix test.test_curses.TestCurses.test_init_pair when running under -R (GH-24539) https://github.com/python/cpython/commit/ab2d48163901c9635401db0f6d784c45482d1

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +23325 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24539 ___ Python tracker __

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >From the curses docs: init_pair The init_pair routine changes the definition of a color-pair. It takes three arguments: the number of the color-pair to be changed, the foreground color number, and the background color num

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hu, commenting out test_use_default_colors fixes the issue, so something is going on there -- ___ Python tracker ___

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The logic in _curses_init_pair_impl is quite odd. Seems that _CURSES_INIT_PAIR_FUNC succeeds the first run of (-R) even if pair_number >= COLOR_PAIRS but fails the second. Serhiy, do you know what's going on here? -- _

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This seems to happen only when running with -R -- ___ Python tracker ___ ___ Python-bugs-l

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/433/builds/181/steps/5/logs/stdio == ERROR: test_init_pair (test.test_curses.TestCurses) --