summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
Commit message (Expand)AuthorAgeFilesLines
...
* | | PyUnicode_AsUnicodeCopy() uses PyUnicode_AsUnicodeAndSize() to get directly t...Victor Stinner2011-10-231-4/+4
* | | Fix PyUnicode_InternImmortal(): PyUnicode_InternInPlace() may changes *pVictor Stinner2011-10-231-3/+1
* | | Cast directly to unsigned char, instead of using Py_CHARMASKVictor Stinner2011-10-231-2/+2
* | | Replace PyUnicodeObject* by PyObject* where it was irrevelantVictor Stinner2011-10-231-139/+126
* | | Fix data variable in _PyUnicode_Dump() for compact ASCIIVictor Stinner2011-10-231-2/+10
* | | Remove last references to the removed Unicode free listVictor Stinner2011-10-231-23/+0
* | | PyUnicode_FSDecoder() ensures that the decoded string is readyVictor Stinner2011-10-261-0/+4
* | | Fix unicode_subtype_new() on debug buildVictor Stinner2011-10-221-1/+1
* | | Remove unused variable.Ezio Melotti2011-10-211-1/+0
* | | #12753: Add support for Unicode name aliases and named sequences.Ezio Melotti2011-10-211-1/+1
* | | Add consistency check to _PyUnicode_New()Victor Stinner2011-10-181-0/+1
* | | Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignoreVictor Stinner2011-10-181-141/+609
* | | remove some duplicationBenjamin Peterson2011-10-151-10/+4
* | | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner2011-10-141-60/+58
* | | Reuse the stringlib in findchar(), and make its signature more convenientAntoine Pitrou2011-10-131-39/+41
* | | Optimize unicode_subscript() for step != 1 and ascii stringsVictor Stinner2011-10-121-8/+12
* | | Don't use PyUnicode_MAX_CHAR_VALUE() macro in Py_MAX()Victor Stinner2011-10-121-2/+3
* | | Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchrVictor Stinner2011-10-121-0/+8
* | | Issue #13155: Optimize finding the optimal character width of an unicode stringAntoine Pitrou2011-10-121-87/+69
* | | Unicode replace() avoids calling unicode_adjust_maxchar() when it's uselessVictor Stinner2011-10-121-40/+38
* | | Backed out changeset 952d91a7d376Victor Stinner2011-10-111-1/+1
* | | Relax conditionAntoine Pitrou2011-10-111-1/+1
* | | Fix compiler warning in _PyUnicode_FromUCS2()Victor Stinner2011-10-111-1/+1
* | | Use _PyUnicode_CONVERT_BYTES() where applicable.Antoine Pitrou2011-10-111-12/+17
* | | PyUnicode_AsUnicodeCopy() now checks if PyUnicode_AsUnicode() failedVictor Stinner2011-10-111-2/+5
* | | Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH insteadVictor Stinner2011-10-111-3/+3
* | | Issue #13136: speed up conversion between different character widths.Antoine Pitrou2011-10-111-5/+14
* | | /* Remove unused code. It has been committed out since 2000 (!). */Antoine Pitrou2011-10-111-54/+0
* | | Avoid exporting private helpersAntoine Pitrou2011-10-101-6/+6
* | | any_find_slice() doesn't use callbacks anymoreVictor Stinner2011-10-101-52/+43
* | | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-0/+31
* | | Fix typo in the PyUnicode_Find() implementationAntoine Pitrou2011-10-081-1/+1
* | | Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.Martin v. Löwis2011-10-071-47/+45
* | | PyUnicode_Join() calls directly memcpy() if all strings are of the same kindVictor Stinner2011-10-071-7/+54
* | | Fix formatting memory consumption with very large padding specificationsAntoine Pitrou2011-10-071-8/+28
* | | str.replace(a, a) is now returning str unchanged if a is aVictor Stinner2011-10-071-0/+2
* | | Fix massive slowdown in string formatting with the % operatorAntoine Pitrou2011-10-061-114/+127
* | | Ensure that 1-char singletons get usedAntoine Pitrou2011-10-061-0/+8
* | | Fix PyUnicode_Join() for len==1 and non-exact stringVictor Stinner2011-10-061-2/+2
* | | Fix compilation under WindowsAntoine Pitrou2011-10-061-1/+2
* | | Fix assertion in unicode_adjust_maxchar()Victor Stinner2011-10-061-1/+1
* | | Fix my last change on PyUnicode_Join(): don't process separator if len==1Victor Stinner2011-10-061-28/+32
* | | str.replace() avoids memory when it's possibleVictor Stinner2011-10-061-18/+84
* | | _copy_characters() fails more quickly in debug mode on inconsistent stateVictor Stinner2011-10-061-6/+18
* | | Fix a compiler warning: don't define unicode_is_singleton() in release modeVictor Stinner2011-10-061-0/+2
* | | Don't check for the maximum character when copying from unicodeobject.cVictor Stinner2011-10-051-184/+184
* | | Fix post-condition in unicode_repr(): check the result, not the inputVictor Stinner2011-10-051-1/+1
* | | replace() uses unicode_fromascii() if the input and replace string is ASCIIVictor Stinner2011-10-051-1/+4
* | | unicode_fromascii() checks that the input is ASCII in debug modeVictor Stinner2011-10-051-3/+11
* | | Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCIIVictor Stinner2011-10-051-47/+116