1. 05 Mar, 2019 2 commits
  2. 04 Mar, 2019 8 commits
  3. 03 Mar, 2019 6 commits
  4. 02 Mar, 2019 2 commits
  5. 01 Mar, 2019 21 commits
  6. 28 Feb, 2019 1 commit
    • Victor Stinner's avatar
      bpo-29571: Fix test_re.test_locale_flag() (GH-12099) · ab71f8b7
      Victor Stinner authored
      Use locale.getpreferredencoding() rather than locale.getlocale() to
      get the locale encoding. With some locales, locale.getlocale()
      returns the wrong encoding.
      
      For example, on Fedora 29, locale.getlocale() returns ISO-8859-1
      encoding for the "en_IN" locale, whereas
      locale.getpreferredencoding() reports the correct encoding: UTF-8.
      ab71f8b7