1. 15 Ock, 2018 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174) · cb064fc2
      Victor Stinner yazdı
      * 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
  2. 15 Eki, 2017 1 kayıt (commit)
  3. 15 Eyl, 2017 1 kayıt (commit)
    • Barry Warsaw's avatar
      bpo-31338 (#3374) · b2e57948
      Barry Warsaw yazdı
      * Add Py_UNREACHABLE() as an alias to abort().
      * Use Py_UNREACHABLE() instead of assert(0)
      * Convert more unreachable code to use Py_UNREACHABLE()
      * Document Py_UNREACHABLE() and a few other macros.
      b2e57948
  4. 21 Agu, 2017 1 kayıt (commit)
  5. 14 Eyl, 2016 1 kayıt (commit)
  6. 10 Eyl, 2016 2 kayıt (commit)
  7. 07 Eyl, 2016 1 kayıt (commit)
  8. 30 Agu, 2016 1 kayıt (commit)
  9. 29 Agu, 2016 1 kayıt (commit)
  10. 08 May, 2016 1 kayıt (commit)
  11. 25 Ara, 2015 1 kayıt (commit)
  12. 16 Nis, 2014 1 kayıt (commit)
  13. 15 Nis, 2014 2 kayıt (commit)
  14. 14 Nis, 2014 1 kayıt (commit)
  15. 19 Kas, 2013 1 kayıt (commit)
  16. 27 Agu, 2013 1 kayıt (commit)
  17. 24 Haz, 2013 1 kayıt (commit)
  18. 23 Haz, 2013 1 kayıt (commit)
  19. 16 May, 2013 1 kayıt (commit)
  20. 07 May, 2013 1 kayıt (commit)
  21. 03 Nis, 2013 1 kayıt (commit)
  22. 01 Eki, 2012 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #15609: Optimize str%args for integer argument · 621ef3d8
      Victor Stinner yazdı
       - Use _PyLong_FormatWriter() instead of formatlong() when possible, to avoid
         a temporary buffer
       - Enable the fast path when width is smaller or equals to the length,
         and when the precision is bigger or equals to the length
       - Add unit tests!
       - formatlong() uses PyUnicode_Resize() instead of _PyUnicode_FromASCII()
         to resize the output string
      621ef3d8
  23. 06 Eyl, 2012 1 kayıt (commit)
  24. 09 Agu, 2012 1 kayıt (commit)
  25. 25 Haz, 2012 1 kayıt (commit)
  26. 21 Haz, 2012 1 kayıt (commit)
  27. 16 Haz, 2012 1 kayıt (commit)
  28. 29 May, 2012 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args) · d3f0882d
      Victor Stinner yazdı
       * Formatting string, int, float and complex use the _PyUnicodeWriter API. It
         avoids a temporary buffer in most cases.
       * Add _PyUnicodeWriter_WriteStr() to restore the PyAccu optimization: just
         keep a reference to the string if the output is only composed of one string
       * Disable overallocation when formatting the last argument of str%args and
         str.format(args)
       * Overallocation allocates at least 100 characters: add min_length attribute
         to the _PyUnicodeWriter structure
       * Add new private functions: _PyUnicode_FastCopyCharacters(),
         _PyUnicode_FastFill() and _PyUnicode_FromASCII()
      
      The speed up is around 20% in average.
      d3f0882d
  29. 23 Nis, 2012 2 kayıt (commit)
  30. 24 Şub, 2012 1 kayıt (commit)
  31. 23 Şub, 2012 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separator · 41a863cb
      Victor Stinner yazdı
       * Decode thousands separator and decimal point using PyUnicode_DecodeLocale()
         (from the locale encoding), instead of decoding them implicitly from latin1
       * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used
       * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum
         character if unicode is NULL
       * Replace MIN/MAX macros by Py_MIN/Py_MAX
       * stringlib/undef.h undefines STRINGLIB_IS_UNICODE
       * stringlib/localeutil.h only supports Unicode
      41a863cb
  32. 31 Ock, 2012 1 kayıt (commit)
  33. 23 Ock, 2012 2 kayıt (commit)
  34. 21 Ock, 2012 1 kayıt (commit)
  35. 20 Ock, 2012 1 kayıt (commit)
  36. 12 Ock, 2012 1 kayıt (commit)