1. 05 Jun, 2012 2 commits
    • Victor Stinner's avatar
      Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore · f86a5e8a
      Victor Stinner authored
      open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False)
      instead of locale.getpreferredencoding() in text mode if the encoding is not
      specified. Don't change temporary the locale encoding using locale.setlocale(),
      use the current locale encoding instead of the user preferred encoding.
      
      Explain also in open() documentation that locale.getpreferredencoding(False) is
      called if the encoding is not specified.
      f86a5e8a
    • Hynek Schlawack's avatar
      #14814: ipaddress: refactor dup code, minor janitoring, bump coverage · 91c5a346
      Hynek Schlawack authored
      - remove duplicate netmask/hostmask code
      - make two ifs more pythonic
      - remove packed property for networks
      - some minor pep8 stuff
      - Test coverage is now at 97%, the rest are mostly unreachable safeguards.
      91c5a346
  2. 04 Jun, 2012 24 commits
  3. 03 Jun, 2012 14 commits