Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
miss-islington merged 1 commit into
python:3.10python/cpython:3.10from
miss-islington:backport-ad6e640-3.10miss-islington/cpython:backport-ad6e640-3.10Copy head branch name to clipboard
Jan 17, 2022
Merged

[3.10] bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631)#30634
miss-islington merged 1 commit into
python:3.10python/cpython:3.10from
miss-islington:backport-ad6e640-3.10miss-islington/cpython:backport-ad6e640-3.10Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Jan 17, 2022

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>
@bedevere-bot bedevere-bot added the tests Tests in the Lib/test dir label Jan 17, 2022
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@vstinner 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.

LGTM, good bot.

@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington miss-islington merged commit 1345b46 into python:3.10 Jan 17, 2022
@miss-islington miss-islington deleted the backport-ad6e640-3.10 branch January 17, 2022 13:35
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.