68 Commits (cd8295ff758891f21084a6a5ad3403d35dda38f7)

Author SHA1 Message Date
Serhiy Storchaka cd8295ff75
bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode data. (GH-19345) 6 years ago
Serhiy Storchaka eebaa9bfc5
bpo-38249: Expand Py_UNREACHABLE() to __builtin_unreachable() in the release mode. (GH-16329) 6 years ago
Andy Lester ad0c775ea2
closes bpo-39878: Remove unused arguments from static functions. (GH-18822) 6 years ago
Andy Lester 3fe9117779
closes bpo-39803: Remove unused str from _PyLong_FormatAdvancedWriter. (GH-18709) 6 years ago
Victor Stinner a102ed7d2f
bpo-39573: Use Py_TYPE() macro in Python and Include directories (GH-18391) 6 years ago
Hansraj Das 7320ec05f7 Fix typo in formatter_unicode (GH-16831) 6 years ago
Victor Stinner 59423e3ddd
bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) 7 years ago
Victor Stinner 02e6bf7f20
bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) 7 years ago
Benjamin Peterson cbda8fc5d7
closes bpo-34868: Improve error message with '_' is combined with an invalid type specifier. (GH-9666) 7 years ago
Victor Stinner cb064fc232
bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174) 8 years ago
Dargor 28773ca7a7 bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002) 8 years ago
Barry Warsaw b2e5794870 bpo-31338 (#3374) 8 years ago
Stefan Krah f432a3234f bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157) 8 years ago
Benjamin Peterson 59e5e0dca2 improve type-safe of and prevent double-frees in get_locale_info (#28119) 9 years ago
Benjamin Peterson eb0dfa9251 make invalid_comma_and_underscore a real prototype 9 years ago
Eric V. Smith 89e1b1aae0 Issue 27080: PEP 515: add '_' formatting option. 9 years ago
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 9 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 9 years ago
Serhiy Storchaka 1f9326196e Issue #27818: Speed up parsing width and precision in format() strings for 9 years ago
Martin Panter 4c35964b76 Corrections for a/an in code comments and documentation 10 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 10 years ago
Eric V. Smith a12572ff3a Close issue #8931: Make alternate formatting for 'c' raise an exception. Patch by Torsten Landschoff. 12 years ago
Vinay Sajip 809f90f369 Reverted 16efa8d27e4c after discussion with Eric. 12 years ago
Eric V. Smith a0d107324d Closed issue #8931: Make alternate formatting for 'c' raise an exception. Patch by Torsten Landschoff. 12 years ago
Eric V. Smith 2ea9712ee9 Issue #12546: Allow \x00 as a fill character for builtin type __format__ methods. 12 years ago
Victor Stinner 4a58707a34 Add _PyUnicodeWriter_WriteASCIIString() function 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago
Victor Stinner 76d38502e4 Issue #9566: Fix a compiler warning on Windows x64 13 years ago
Victor Stinner 2f084ecfe7 Issue #18137: Detect integer overflow on precision in float.__format__() and 13 years ago
Victor Stinner 9ce59bbe43 Fix a compilater warning on Windows 64-bit 13 years ago
Victor Stinner 22c103b3cc Fix a compiler warning: use unsigned int type instead of enum PyUnicode_Kind to 13 years ago
Victor Stinner eb4b5ac8af Close #16757: Avoid calling the expensive _PyUnicode_FindMaxChar() function 13 years ago
Victor Stinner 621ef3d84f Issue #15609: Optimize str%args for integer argument 13 years ago
Stefan Krah d9c1bf7f1f After the jump in line 1051 unicode_tmp is NULL. Found by Coverity. 13 years ago
Victor Stinner 2d6266d5f1 Remove now unused IntOrLongToString type 14 years ago
Brett Cannon 8a250fac15 Comment out a dead increment. 14 years ago
doko@ubuntu.com 39378f7f4f format_obj: make it static 14 years ago
Victor Stinner c9d369f1bf Optimize _PyUnicode_FastCopyCharacters() when maxchar(from) > maxchar(to) 14 years ago
Victor Stinner d3f0882dfb Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args) 14 years ago
Victor Stinner ece58deb9f Close #14648: Compute correctly maxchar in str.format() for substrin 14 years ago
Benjamin Peterson 80d07f8251 inherit maxchar of field value where needed (closes #14648) 14 years ago
Victor Stinner 90f50d4df9 Issue #13706: Fix format(float, "n") for locale with non-ASCII decimal point (e.g. ps_aF) 14 years ago
Victor Stinner 41a863cb81 Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separator 14 years ago
Victor Stinner ed27785b32 Issue #13706: Add assertions to detect bugs earlier 14 years ago
Amaury Forgeot d'Arc 6d766fc3fa Silence last compilation warning. 14 years ago
Amaury Forgeot d'Arc cd27df3a99 Fix compilation warnings (seen on win32 buildbot) 14 years ago
Victor Stinner a4ac600d6f Issue #13706: Support non-ASCII fill characters 14 years ago
Eric V. Smith d25cfe66f5 Improve exception text. Closes issue 13811. 14 years ago
Benjamin Peterson 21e0da228d remove some usage of Py_UNICODE_TOUPPER/LOWER 14 years ago
Victor Stinner 3fe553160c Add a new PyUnicode_Fill() function 14 years ago