FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.9] bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631) by miss-islington · Pull Request #30635 · python/cpython · GitHub

/ cpython Public

[3.9] bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631) - #30635

Merged
vstinner merged 1 commit into
python:3.9from
miss-islington:backport-ad6e640-3.9
Jan 17, 2022
Merged

[3.9] bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631)#30635
vstinner merged 1 commit into
python:3.9from
miss-islington:backport-ad6e640-3.9

Conversation

miss-islington commented Jan 17, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Skip test_builtin PTY tests on non-ASCII characters if the readline
module is loaded. The readline module changes input() behavior, but
test_builtin is not intented to test the readline module.

When the readline module is loaded, PyOS_Readline() uses the readline
implementation. In some cases, the Python readline callback
rlhandler() is called by readline with a string without non-ASCII
characters.
(cherry picked from commit ad6e640)

Co-authored-by: Victor Stinner vstinner@python.org

https://bugs.python.org/issue13886

…0631)

Skip test_builtin PTY tests on non-ASCII characters if the readline
module is loaded. The readline module changes input() behavior, but
test_builtin is not intented to test the readline module.

When the readline module is loaded, PyOS_Readline() uses the readline
implementation. In some cases, the Python readline callback
rlhandler() is called by readline with a string without non-ASCII
characters.
(cherry picked from commit ad6e640)

Co-authored-by: Victor Stinner <vstinner@python.org>

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, good bot.

vstinner merged commit 0fbb9af into python:3.9 Jan 17, 2022
miss-islington deleted the backport-ad6e640-3.9 branch January 17, 2022 13:47
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…0631) (pythonGH-30635)

Skip test_builtin PTY tests on non-ASCII characters if the readline
module is loaded. The readline module changes input() behavior, but
test_builtin is not intented to test the readline module.

When the readline module is loaded, PyOS_Readline() uses the readline
implementation. In some cases, the Python readline callback
rlhandler() is called by readline with a string without non-ASCII
characters.
(cherry picked from commit ad6e640)

Co-authored-by: Victor Stinner <vstinner@python.org>

Co-authored-by: Victor Stinner <vstinner@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL