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-34589: Add test_PYTHONCOERCECLOCALE_ignored()#9382

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

bpo-34589: Add test_PYTHONCOERCECLOCALE_ignored()#9382
vstinner wants to merge 1 commit into
python:masterpython/cpython:masterfrom
vstinner:test_locale_ECopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Sep 18, 2018

Copy link
Copy Markdown
Member

The -E command line option must ignore the PYTHONCOERCECLOCALE
environment variable.

https://bugs.python.org/issue34589

@vstinner vstinner requested a review from ncoghlan September 18, 2018 02:05
@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting merge labels Sep 18, 2018
@vstinner vstinner changed the title bpo-34589: Add test_PYTHONCOERCECLOCALE_set_to_zero_ignore_env() bpo-34589: Add test_PYTHONCOERCECLOCALE_ignored() Sep 18, 2018
The -E command line option must ignore the PYTHONCOERCECLOCALE
environment variable.
@ncoghlan

Copy link
Copy Markdown
Contributor

No, it must not - the PEP even says so in https://www.python.org/dev/peps/pep-0538/#legacy-c-locale-coercion-in-the-standalone-python-interpreter-binary, and until the tests were changed, the test suite enforced the behaviour described in the PEP.

@ncoghlan ncoghlan closed this Sep 19, 2018
@vstinner vstinner deleted the test_locale_E branch September 19, 2018 22:53
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.

4 participants

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