[Python-checkins] [python/cpython] da2ffe: bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime fl...

GitHub noreply at github.com
Sat Jun 17 20:42:08 EDT 2017


  Branch: refs/heads/buildbot-custom
  Home:   https://github.com/python/cpython
  Commit: da2ffe2721274e76b9a0570e0da311a0c0abfb51
      https://github.com/python/cpython/commit/da2ffe2721274e76b9a0570e0da311a0c0abfb51
  Author: Nick Coghlan <ncoghlan at gmail.com>
  Date:   2017-06-17 (Sat, 17 Jun 2017)

  Changed paths:
    M Lib/test/test_c_locale_coercion.py
    M Python/pylifecycle.c

  Log Message:
  -----------
  bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime flag

- legacy locale warnings are now silent by default
- build time configuration setting is removed
- set PYTHONCOERCECLOCALE=warn to enable them
- updates test cases accordingly


  Commit: 093c8da161c7f57594c0044e64c64c29bd16d6e1
      https://github.com/python/cpython/commit/093c8da161c7f57594c0044e64c64c29bd16d6e1
  Author: Nick Coghlan <ncoghlan at gmail.com>
  Date:   2017-06-17 (Sat, 17 Jun 2017)

  Changed paths:
    M Lib/test/test_c_locale_coercion.py

  Log Message:
  -----------
  Handle lack of coercion targets in tests


  Commit: 58e925180fdd96957f990476d91f32ab90a122e3
      https://github.com/python/cpython/commit/58e925180fdd96957f990476d91f32ab90a122e3
  Author: Nick Coghlan <ncoghlan at gmail.com>
  Date:   2017-06-17 (Sat, 17 Jun 2017)

  Changed paths:
    M Lib/test/test_c_locale_coercion.py

  Log Message:
  -----------
  Check expected behaviour without coercion target locales


  Commit: 733f72f999615ad99fafc85d46d652e7a9cc1ee0
      https://github.com/python/cpython/commit/733f72f999615ad99fafc85d46d652e7a9cc1ee0
  Author: Nick Coghlan <ncoghlan at gmail.com>
  Date:   2017-06-18 (Sun, 18 Jun 2017)

  Changed paths:
    M Lib/test/test_c_locale_coercion.py

  Log Message:
  -----------
  Correctly check for target availability


  Commit: c0d8b8e0e18d9e793e965521d9784a1d21cee08f
      https://github.com/python/cpython/commit/c0d8b8e0e18d9e793e965521d9784a1d21cee08f
  Author: Nick Coghlan <ncoghlan at gmail.com>
  Date:   2017-06-18 (Sun, 18 Jun 2017)

  Changed paths:
    M Lib/test/test_c_locale_coercion.py

  Log Message:
  -----------
  Expect legacy locale warning in tests


Compare: https://github.com/python/cpython/compare/da2ffe272127^...c0d8b8e0e18d


More information about the Python-checkins mailing list