1. 16 Oct, 2010 1 commit
  2. 15 Oct, 2010 1 commit
    • Victor Stinner's avatar
      Use locale encoding if Py_FileSystemDefaultEncoding is not set · a47a00d4
      Victor Stinner authored
       * PyUnicode_EncodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and
         PyUnicode_DecodeFSDefault() use the locale encoding instead of UTF-8 if
         Py_FileSystemDefaultEncoding is NULL
       * redecode_filenames() functions and _Py_code_object_list (issue #9630)
         are no more needed: remove them
      a47a00d4
  3. 14 Oct, 2010 1 commit
  4. 07 Oct, 2010 1 commit
  5. 02 Oct, 2010 2 commits
  6. 29 Sep, 2010 3 commits
  7. 12 Sep, 2010 3 commits
  8. 11 Sep, 2010 1 commit
  9. 03 Sep, 2010 1 commit
  10. 01 Sep, 2010 5 commits
  11. 24 Aug, 2010 1 commit
  12. 18 Aug, 2010 1 commit
  13. 16 Aug, 2010 1 commit
  14. 13 Aug, 2010 2 commits
    • Victor Stinner's avatar
      Issue #9542: Create PyUnicode_FSDecoder() function · 0cf2b810
      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.
      0cf2b810
    • Victor Stinner's avatar
      Issue #9425: Create PyErr_WarnFormat() function · 5c829d60
      Victor Stinner authored
      Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning
      message.
      
      Strip also some trailing spaces.
      5c829d60
  15. 11 Aug, 2010 1 commit
  16. 10 Aug, 2010 1 commit
  17. 01 Aug, 2010 2 commits
  18. 29 Jul, 2010 1 commit
  19. 19 Jul, 2010 1 commit
  20. 05 Jul, 2010 1 commit
  21. 03 Jul, 2010 1 commit
  22. 01 Jul, 2010 1 commit
    • Ezio Melotti's avatar
      Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629. · 6d1bd194
      Ezio Melotti authored
      1) #8271: when a byte sequence is invalid, only the start byte and all the
         valid continuation bytes are now replaced by U+FFFD, instead of replacing
         the number of bytes specified by the start byte.
         See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95);
      2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes
         in behavior);
      3) Change the error messages "unexpected code byte" to "invalid start byte"
         and "invalid data" to "invalid continuation byte";
      4) Add an extensive set of tests in test_unicode;
      5) Fix test_codeccallbacks because it was failing after this change.
      6d1bd194
  23. 27 Jun, 2010 1 commit
  24. 26 Jun, 2010 1 commit
  25. 16 Jun, 2010 1 commit
  26. 12 Jun, 2010 1 commit
  27. 11 Jun, 2010 2 commits
  28. 10 Jun, 2010 1 commit