bpo-29240: Skip test_readline.test_nonascii() on C locale#5203
Merged
vstinner merged 1 commit intopython:masterfrom Jan 16, 2018
vstinner:readline_skip_c_locale
Merged
bpo-29240: Skip test_readline.test_nonascii() on C locale#5203vstinner merged 1 commit intopython:masterfrom vstinner:readline_skip_c_locale
vstinner merged 1 commit intopython:masterfrom
vstinner:readline_skip_c_locale
Conversation
bpo-29240: On FreeBSD, if the LC_CTYPE locale is "C" or "POSIX", writing and reading non-ASCII bytes into/from a TTY works, but readline or ncurses ignores non-ASCII bytes on read.
Contributor
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
|
GH-5204 is a backport of this pull request to the 3.6 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jan 16, 2018
bpo-29240: On FreeBSD, if the LC_CTYPE locale is "C" or "POSIX", writing and reading non-ASCII bytes into/from a TTY works, but readline or ncurses ignores non-ASCII bytes on read. (cherry picked from commit c495e79)
vstinner
pushed a commit
that referenced
this pull request
Jan 16, 2018
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bpo-29240: If the LC_CTYPE locale is the C locale, skip
test_readline.test_nonascii(). On FreeBSD, writing non-ASCII bytes
into TTY works, reading from stdin returns non-ASCII bytes. But
readline or ncurses ignores non-ASCII bytes on read.
https://bugs.python.org/issue29240