[Python-checkins] [python/cpython] eb8179: bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime fl...
GitHub
noreply at github.com
Sat Jun 17 22:29:43 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: eb81795d7d3a8c898fa89a376d63fc3bbfb9a081
https://github.com/python/cpython/commit/eb81795d7d3a8c898fa89a376d63fc3bbfb9a081
Author: Nick Coghlan <ncoghlan at gmail.com>
Date: 2017年06月18日 (2017年6月18日)
Changed paths:
M Doc/using/cmdline.rst
M Doc/whatsnew/3.7.rst
M Lib/test/test_c_locale_coercion.py
M Modules/main.c
M Python/pylifecycle.c
Log Message:
-----------
bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime flag (GH-2260)
- removes PY_WARN_ON_C_LOCALE build time flag
- locale coercion and compatibility warnings are now always compiled
in, but are off by default
- adds PYTHONCOERCECLOCALE=warn runtime option to aid in
debugging potentially locale related compatibility problems
Due to not-yet-resolved test failures on *BSD systems (including
Mac OS X), this also temporarily disables UTF-8 as a locale coercion
target, and skips testing the interpreter's behavior in the POSIX locale.
More information about the Python-checkins
mailing list