summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
Commit message (Expand)AuthorAgeFilesLines
...
* | 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
* | Fix PyUnicode_Partition(): str_in->str_objVictor Stinner2011-10-051-5/+5
* | Ensure that newly created strings use the most efficient store in debug modeVictor Stinner2011-10-041-14/+75
* | Replace PyUnicodeObject* with PyObject* where it was inappropriateVictor Stinner2011-10-041-40/+40
* | unicodeobject.c doesn't make output strings ready in debug modeVictor Stinner2011-10-041-0/+4
* | More typoes.Georg Brandl2011-10-051-7/+7
* | Speedup str[a:b:step] for step != 1Victor Stinner2011-10-051-3/+23
* | Speedup find_maxchar_surrogates() for 32-bit wchar_tVictor Stinner2011-10-051-8/+6
* | Speedup str[a:b] and PyUnicode_FromKindAndDataVictor Stinner2011-10-051-27/+49
* | Speedup the ASCII decoderVictor Stinner2011-10-051-27/+53
* | Fix usage og PyUnicode_READY()Victor Stinner2011-10-041-5/+9
* | _PyUnicode_READY_REPLACE() cannot be used in unicode_subtype_new()Victor Stinner2011-10-041-1/+1
* | Add DONT_MAKE_RESULT_READY to unicodeobject.c to help detecting bugsVictor Stinner2011-10-041-2/+28
* | Add assertion to _Py_ReleaseInternedUnicodeStrings() if READY failsVictor Stinner2011-10-041-2/+4
* | Fix naïve heuristic in unicode slicing (followup to 1b4f886dc9e2)Antoine Pitrou2011-10-041-7/+15
* | Add a necessary call to PyUnicode_READY() (followup to ab5086539ab9)Antoine Pitrou2011-10-041-0/+3
* | Optimize string slicing to use the new APIAntoine Pitrou2011-10-041-17/+15