[Python-checkins] [python/cpython] 94a369: bpo-6393: Fix locale.getprerredencoding() on macOS...

GitHub noreply at github.com
Fri May 12 05:51:39 EDT 2017


  Branch: refs/heads/2.7
  Home:   https://github.com/python/cpython
  Commit: 94a3694c3dda97e3bcb51264bf47d948c5424d84
      https://github.com/python/cpython/commit/94a3694c3dda97e3bcb51264bf47d948c5424d84
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M Lib/locale.py

  Log Message:
  -----------
  bpo-6393: Fix locale.getprerredencoding() on macOS (#1555)

Fix for bpo-6393: Python crashes on OSX when $LANG is set to some (but
not all) invalid values due to an invalid result from nl_langinfo

(cherry picked from commit 6d77e07196bfb5dfa4de6f5d80b2619c0643a75e)




More information about the Python-checkins mailing list