1. 25 Nis, 2019 1 kayıt (commit)
  2. 30 Mar, 2019 1 kayıt (commit)
  3. 20 Mar, 2019 1 kayıt (commit)
  4. 18 Mar, 2019 1 kayıt (commit)
  5. 05 Mar, 2019 1 kayıt (commit)
  6. 03 Ara, 2018 1 kayıt (commit)
  7. 28 Kas, 2018 1 kayıt (commit)
  8. 29 Agu, 2018 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-34523: Support surrogatepass in locale codecs (GH-8995) · 3d4226a8
      Victor Stinner yazdı
      Add support for the "surrogatepass" error handler in
      PyUnicode_DecodeFSDefault() and PyUnicode_EncodeFSDefault()
      for the UTF-8 encoding.
      
      Changes:
      
      * _Py_DecodeUTF8Ex() and _Py_EncodeUTF8Ex() now support the
        surrogatepass error handler (_Py_ERROR_SURROGATEPASS).
      * _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx() now use
        the _Py_error_handler enum instead of "int surrogateescape" to pass
        the error handler. These functions now return -3 if the error
        handler is unknown.
      * Add unit tests on _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx()
        in test_codecs.
      * Rename get_error_handler() to _Py_GetErrorHandler() and expose it
        as a private function.
      * _freeze_importlib doesn't need config.filesystem_errors="strict"
        workaround anymore.
      3d4226a8
  9. 19 Agu, 2018 1 kayıt (commit)
  10. 13 Ara, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) · 91106cd9
      Victor Stinner yazdı
      * Add -X utf8 command line option, PYTHONUTF8 environment variable
        and a new sys.flags.utf8_mode flag.
      * If the LC_CTYPE locale is "C" at startup: enable automatically the
        UTF-8 mode.
      * Add _winapi.GetACP(). encodings._alias_mbcs() now calls
        _winapi.GetACP() to get the ANSI code page
      * locale.getpreferredencoding() now returns 'UTF-8' in the UTF-8
        mode. As a side effect, open() now uses the UTF-8 encoding by
        default in this mode.
      * Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding
        in the UTF-8 Mode.
      * Update subprocess._args_from_interpreter_flags() to handle -X utf8
      * Skip some tests relying on the current locale if the UTF-8 mode is
        enabled.
      * Add test_utf8mode.py.
      * _Py_DecodeUTF8_surrogateescape() gets a new optional parameter to
        return also the length (number of wide characters).
      * pymain_get_global_config() and pymain_set_global_config() now
        always copy flag values, rather than only copying if the new value
        is greater than the old value.
      91106cd9
  11. 28 Kas, 2017 1 kayıt (commit)
  12. 20 Eki, 2017 1 kayıt (commit)
  13. 16 Eyl, 2016 1 kayıt (commit)
  14. 08 Eyl, 2016 2 kayıt (commit)
  15. 07 Eyl, 2016 1 kayıt (commit)
  16. 24 Nis, 2016 1 kayıt (commit)
  17. 16 Nis, 2016 1 kayıt (commit)
  18. 15 Nis, 2016 1 kayıt (commit)
  19. 02 Kas, 2015 1 kayıt (commit)
  20. 09 Eki, 2015 1 kayıt (commit)
  21. 05 Eki, 2015 1 kayıt (commit)
  22. 02 Eki, 2015 1 kayıt (commit)
  23. 01 Eki, 2015 1 kayıt (commit)
  24. 29 Eyl, 2015 1 kayıt (commit)
  25. 21 Eyl, 2015 1 kayıt (commit)
  26. 12 Eyl, 2015 1 kayıt (commit)
  27. 12 May, 2015 2 kayıt (commit)
  28. 20 Mar, 2015 1 kayıt (commit)
  29. 26 Ock, 2015 1 kayıt (commit)
  30. 25 Ock, 2015 1 kayıt (commit)
  31. 06 Ock, 2015 1 kayıt (commit)
    • Nick Coghlan's avatar
      Issue 19548: update codecs module documentation · b9fdb7a4
      Nick Coghlan yazdı
      - clarified the distinction between text encodings and other codecs
      - clarified relationship with builtin open and the io module
      - consolidated documentation of error handlers into one section
      - clarified type constraints of some behaviours
      - added tests for some of the new statements in the docs
      b9fdb7a4
  32. 20 Ara, 2014 2 kayıt (commit)
  33. 25 Kas, 2014 1 kayıt (commit)
  34. 07 Kas, 2014 1 kayıt (commit)
  35. 15 Eyl, 2014 1 kayıt (commit)
  36. 16 May, 2014 1 kayıt (commit)
  37. 15 May, 2014 1 kayıt (commit)