1. 14 Aug, 2010 38 commits
  2. 13 Aug, 2010 2 commits
    • Victor Stinner's avatar
      Issue #9542: Create PyUnicode_FSDecoder() function · 47fcb5b4
      Victor Stinner authored
      It's a ParseTuple converter: decode bytes objects to unicode using
      PyUnicode_DecodeFSDefaultAndSize(); str objects are output as-is.
      
       * Don't specify surrogateescape error handler in the comments nor the
         documentation, but PyUnicode_DecodeFSDefaultAndSize() and
         PyUnicode_EncodeFSDefault() because these functions use strict error handler
         for the mbcs encoding (on Windows).
       * Remove PyUnicode_FSConverter() comment in unicodeobject.c to avoid
         inconsistency with unicodeobject.h.
      47fcb5b4
    • Victor Stinner's avatar
      Create _Py_wchar2char() function, reverse of _Py_char2wchar() · f2e08b34
      Victor Stinner authored
       * Use _Py_wchar2char() in _wstat() and _Py_wfopen()
       * Document _Py_char2wchar()
      f2e08b34