1. 20 Jan, 2018 1 commit
  2. 19 Jan, 2018 1 commit
  3. 18 Jan, 2018 4 commits
  4. 17 Jan, 2018 6 commits
  5. 16 Jan, 2018 7 commits
  6. 15 Jan, 2018 7 commits
    • Antoine Pitrou's avatar
      bpo-14976: Reentrant simple queue (#3346) · 94e1696d
      Antoine Pitrou authored
      Add a queue.SimpleQueue class, an unbounded FIFO queue with a reentrant C implementation of put().
      94e1696d
    • Barry Warsaw's avatar
    • Yury Selivanov's avatar
    • Victor Stinner's avatar
      bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174) · cb064fc2
      Victor Stinner authored
      * Add _Py_GetLocaleconvNumeric() function: decode decimal_point and
        thousands_sep fields of localeconv() from the LC_NUMERIC encoding,
        rather than decoding from the LC_CTYPE encoding.
      * Modify locale.localeconv() and "n" formatter of str.format() (for
        int, float and complex to use _Py_GetLocaleconvNumeric()
        internally.
      cb064fc2
    • Victor Stinner's avatar
      bpo-29240: Fix locale encodings in UTF-8 Mode (#5170) · 7ed7aead
      Victor Stinner authored
      Modify locale.localeconv(), time.tzname, os.strerror() and other
      functions to ignore the UTF-8 Mode: always use the current locale
      encoding.
      
      Changes:
      
      * Add _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx(). On decoding or
        encoding error, they return the position of the error and an error
        message which are used to raise Unicode errors in
        PyUnicode_DecodeLocale() and PyUnicode_EncodeLocale().
      * Replace _Py_DecodeCurrentLocale() with _Py_DecodeLocaleEx().
      * PyUnicode_DecodeLocale() now uses _Py_DecodeLocaleEx() for all
        cases, especially for the strict error handler.
      * Add _Py_DecodeUTF8Ex(): return more information on decoding error
        and supports the strict error handler.
      * Rename _Py_EncodeUTF8_surrogateescape() to _Py_EncodeUTF8Ex().
      * Replace _Py_EncodeCurrentLocale() with _Py_EncodeLocaleEx().
      * Ignore the UTF-8 mode to encode/decode localeconv(), strerror()
        and time zone name.
      * Remove PyUnicode_DecodeLocale(), PyUnicode_DecodeLocaleAndSize()
        and PyUnicode_EncodeLocale() now ignore the UTF-8 mode: always use
        the "current" locale.
      * Remove _PyUnicode_DecodeCurrentLocale(),
        _PyUnicode_DecodeCurrentLocaleAndSize() and
        _PyUnicode_EncodeCurrentLocale().
      7ed7aead
    • Cheryl Sabella's avatar
      bpo-26330: Update shutil.disk_usage() documentation (GH-5184) · ee3b8354
      Cheryl Sabella authored
      Clarify that on Windows, path must be a directory.
      On Unix, path can be a file or a directory.
      ee3b8354
    • Cheryl Sabella's avatar
      bpo-15221: Update os.path.is*() documentation (GH-5185) · b3dd18d4
      Cheryl Sabella authored
      `os.path.is*()` can return False if the file can't be accessed.
      The behaviour is documented in details in `os.path.exists()`.
      Link to `os.path.exists()` from `os.path.is*()`.
      b3dd18d4
  7. 14 Jan, 2018 1 commit
  8. 13 Jan, 2018 2 commits
  9. 12 Jan, 2018 8 commits
  10. 11 Jan, 2018 3 commits