Skip to content

bpo-29240: Skip test_readline.test_nonascii() on C locale #5203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 16, 2018
Merged

bpo-29240: Skip test_readline.test_nonascii() on C locale #5203

merged 1 commit into from
Jan 16, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 16, 2018

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

@vstinner vstinner changed the title Skip test_readline.test_nonascii() on C locale bpo-29240: Skip test_readline.test_nonascii() on C locale 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.
@vstinner vstinner merged commit c495e79 into python:master Jan 16, 2018
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@vstinner vstinner deleted the readline_skip_c_locale branch January 16, 2018 16:34
@bedevere-bot
Copy link

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
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants