The Wayback Machine - https://web.archive.org/web/20250828081742/https://github.com/python/cpython/pull/125001
Skip to content

Conversation

ImFeH2
Copy link
Contributor

@ImFeH2 ImFeH2 commented Oct 5, 2024 •

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.

@ghost
Copy link

ghost commented Oct 5, 2024 •

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Oct 5, 2024

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 skip news label instead.

@skirpichev
Copy link
Contributor

Test failures are related to the change.

@ImFeH2 ImFeH2 closed this Oct 5, 2024
@ImFeH2 ImFeH2 reopened this Oct 5, 2024
@ImFeH2 ImFeH2 force-pushed the non-printing-char branch from 1819ec0 to dc3906a Compare October 5, 2024 13:23
@bedevere-app
Copy link

bedevere-app bot commented Oct 5, 2024

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 skip news label instead.

@ImFeH2
Copy link
Contributor Author

ImFeH2 commented Oct 5, 2024

All tests have passed, what should I do next?

@picnixz
Copy link
Member

picnixz commented Oct 5, 2024

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.

@ImFeH2
Copy link
Contributor Author

ImFeH2 commented Dec 19, 2024

Hi @pablogsal, would you mind taking a look at this small PR when you have a chance? Thanks in advance!

@ImFeH2 ImFeH2 closed this Jan 5, 2025
@ImFeH2 ImFeH2 deleted the non-printing-char branch January 5, 2025 06:36
@ImFeH2 ImFeH2 restored the non-printing-char branch January 5, 2025 06:38
@ImFeH2 ImFeH2 reopened this Jan 5, 2025
@pablogsal
Copy link
Member

Can you rebase the PR? We can merge it after that and #125001 (comment) is addressed. Thanks for the patience!

@ImFeH2 ImFeH2 force-pushed the non-printing-char branch 2 times, most recently from 4ac9af6 to ab39fbd Compare February 14, 2025 12:10
@pablogsal pablogsal merged commit 6ab5c4a into python:main Mar 10, 2025
47 checks passed
@miss-islington-app
Copy link

Thanks @ImFeH2 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2025
…n in REPL (pythonGH-125001)

(cherry picked from commit 6ab5c4a)

Co-authored-by: FeH2 <i@feh2.im>
@pablogsal
Copy link
Member

Thanks a lot for your contribution! 🎉

@bedevere-app
Copy link

bedevere-app bot commented Mar 10, 2025

GH-131061 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 10, 2025
pablogsal pushed a commit that referenced this pull request Mar 10, 2025
…on in REPL (GH-125001) (#131061)

gh-124927: Fix conversion issue between coordinates and position in REPL (GH-125001)
(cherry picked from commit 6ab5c4a)

Co-authored-by: FeH2 <i@feh2.im>
@ImFeH2 ImFeH2 deleted the non-printing-char branch April 9, 2025 10:49
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants