Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 18, 2018

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
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