summaryrefslogtreecommitdiff
path: root/Objects/stringlib
AgeCommit message (Expand)AuthorLines
2014-03-30merge 3.2Benjamin Peterson-19/+19
2014-03-30fix expandtabs overflow detection to be consistent and not rely on signed ove...Benjamin Peterson-19/+19
2013-11-26fix format spec recursive expansion (closes #19729)Benjamin Peterson-2/+4
2013-08-13Issue 18719: Remove a false optimizationRaymond Hettinger-9/+0
2013-05-17only recursively expand in the format spec (closes #17644)Benjamin Peterson-2/+8
2013-04-21Remove trailing whitespace.Ezio Melotti-7/+7
2013-02-23Remove unused defines.Serhiy Storchaka-6/+0
2013-02-09Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in...Antoine Pitrou-1/+1
2013-01-15Check for NULL before the pointer aligning in fastsearch_memchr_1char.Serhiy Storchaka-15/+10
2012-11-04Issue #8271: Fix compilation on WindowsVictor Stinner-1/+1
2012-11-04#8271: the utf-8 decoder now outputs the correct number of U+FFFD characters...Ezio Melotti-30/+62
2012-09-20Issue #15144: Fix possible integer overflow when handling pointers as integer...Antoine Pitrou-18/+10
2012-08-02Close #15534: Fix a typo in the fast search function of the string library (_...Victor Stinner-5/+5
2012-10-28Issue #14700: Fix buggy overflow checks for large precision and width in new-...Mark Dickinson-18/+13
2012-07-07Use correct types for ASCII_CHAR_MASK integer constants.Mark Dickinson-4/+4
2012-06-23Issue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by S...Mark Dickinson-6/+10
2012-06-21Make private function static (from `make smelly`)Antoine Pitrou-1/+1
2012-06-15Issue #15026: utf-16 encoding is now significantly faster (up to 10x).Antoine Pitrou-0/+64
2012-06-04Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfieldVictor Stinner-1/+1
2012-05-29Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args ...Victor Stinner-26/+22
2012-05-15Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs.Antoine Pitrou-1/+148
2012-05-10Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy Sto...Antoine Pitrou-78/+148
2012-05-09Rename unicode_write_t structure and its methods to "_PyUnicodeWriter"Victor Stinner-9/+9
2012-05-09Issue #14744: Inline unicode_writer_write_char() and unicode_write_str()Victor Stinner-10/+26
2012-05-07Close #14716: str.format() now uses the new "unicode writer" API instead of theVictor Stinner-41/+19
2012-03-22Issue #14387: Do not include accu.h from Python.h.Antoine Pitrou-0/+1
2012-02-24Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separatorVictor Stinner-66/+23
2012-01-11remove some usage of Py_UNICODE_TOUPPER/LOWERBenjamin Peterson-12/+0
2011-12-18Issue #13624: Write a specialized UTF-8 encoder to allow more optimizationVictor Stinner-0/+197
2011-12-18Issue #13623: Fix a performance regression introduced by issue #12170 inVictor Stinner-10/+17
2011-12-01Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)Victor Stinner-1/+1
2011-11-21Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case.Antoine Pitrou-0/+156
2011-11-20stringlib: remove unused STRINGLIB_FILLVictor Stinner-6/+0
2011-11-04Replace PyUnicodeObject type by PyObjectVictor Stinner-12/+8
2011-10-23Replace PyUnicodeObject* by PyObject* where it was irrevelantVictor Stinner-4/+4
2011-10-20Issue #12170: The count(), find(), rfind(), index() and rindex() methodsAntoine Pitrou-0/+43
2011-10-17Fix typoAntoine Pitrou-1/+1
2011-10-13Add a comment explaining this heuristic.Antoine Pitrou-0/+3
2011-10-13Simplify heuristic for when to use memchrAntoine Pitrou-11/+1
2011-10-13Issue #13155: Optimize finding the optimal character width of an unicode stringAntoine Pitrou-0/+136
2011-10-12stringlib: Fix STRINGLIB_STR for UCS2/UCS4Victor Stinner-2/+2
2011-10-11Fix fastsearch for UCS2 and UCS4Victor Stinner-2/+15
2011-10-11Issue #13134: optimize finding single-character strings using memchrAntoine Pitrou-0/+73
2011-10-07Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.Martin v. Löwis-1/+1
2011-10-07Fix massive slowdown in string formatting with str.format.Antoine Pitrou-128/+24
2011-10-06Fix compilation warnings under 64-bit WindowsAntoine Pitrou-1/+1
2011-10-05Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCIIVictor Stinner-0/+34
2011-09-28Mark PyUnicode_FromUCS[124] as privateVictor Stinner-3/+3
2011-09-28Implement PEP 393.Martin v. Löwis-1764/+386
2011-09-25Issue #1621: Fix undefined behaviour from signed overflow in datetime module ...Mark Dickinson-8/+6