gh-124927: Fix conversion issue between coordinates and position in REPL#125001
gh-124927: Fix conversion issue between coordinates and position in REPL#125001pablogsal merged 6 commits intopython:mainfrom
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Misc/NEWS.d/next/Library/2024-10-05-11-54-31.gh-issue-124927.OOOlif.rst
Outdated
Show resolved
Hide resolved
|
Test failures are related to the change. |
1819ec0 to
dc3906a
Compare
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
All tests have passed, what should I do next? |
Actually the tests were not executed (someone needed to approve the workflow which I did). So we'll just wait until they are indeed complete. |
Misc/NEWS.d/next/Library/2024-10-05-13-25-07.gh-issue-124927.uzNA32.rst
Outdated
Show resolved
Hide resolved
9386824 to
429c206
Compare
|
Hi @pablogsal, would you mind taking a look at this small PR when you have a chance? Thanks in advance! |
|
Can you rebase the PR? We can merge it after that and #125001 (comment) is addressed. Thanks for the patience! |
4ac9af6 to
ab39fbd
Compare
…zNA32.rst Co-authored-by: Miro Hrončok <miro@hroncok.cz>
d47f8de to
233c798
Compare
|
Thanks @ImFeH2 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…n in REPL (pythonGH-125001) (cherry picked from commit 6ab5c4a) Co-authored-by: FeH2 <i@feh2.im>
|
Thanks a lot for your contribution! 🎉 |
|
GH-131061 is a backport of this pull request to the 3.13 branch. |
When encountering non printing characters, there will be 0 in self.screeninfo. Resulting in the setpos_from_xy function getting stuck in a dead loop when pressing the up/down keys, and pos2xy returns an incorrect value when the left/right keys.