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

bpo-34403: Fix test_utf8_mode.test_cmd_line() on HP-UX#8967

Closed
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:utf8_cmd_lineCopy head branch name to clipboard
Closed

bpo-34403: Fix test_utf8_mode.test_cmd_line() on HP-UX#8967
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:utf8_cmd_lineCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Aug 28, 2018

Copy link
Copy Markdown
Member

Make the test more generic: instead of hardcoding the encoding, get
the locale encoding at runtime, and then make sure that the command
line is properly decoded from the locale encoding.

https://bugs.python.org/issue34403

Make the test more generic: instead of hardcoding the encoding, get
the locale encoding at runtime, and then make sure that the command
line is properly decoded from the locale encoding.

Test also that the UTF-8 Mode decodes command line arguments from
UTF-8 with the C locale.
@vstinner

Copy link
Copy Markdown
Member Author

Python 3 doesn't use the proper encoding on HP-UX: PR #8969 fix it, so I abandon this PR.

@vstinner vstinner closed this Aug 28, 2018
@vstinner vstinner deleted the utf8_cmd_line branch August 28, 2018 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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