summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* When expandtabs() would be a no-op, don't create a duplicate stringAntoine Pitrou2011-10-041-0/+7
* Migrate str.expandtabs to the new APIAntoine Pitrou2011-10-041-48/+39
* fix parensBenjamin Peterson2011-10-031-1/+1
* fix formattingBenjamin Peterson2011-10-031-2/+2
* fix compiler warningsBenjamin Peterson2011-10-031-3/+9
* Move in-place Unicode append to its own subfunctionVictor Stinner2011-10-031-38/+54
* Reindent internal Unicode macrosVictor Stinner2011-10-031-7/+14
* Document utf8_length and wstr_length statesVictor Stinner2011-10-031-40/+44
* resize_inplace() sets utf8_length to zero if the utf8 is not shared8Victor Stinner2011-10-031-23/+28
* PyUnicode_New() sets utf8_length to zero for latin1Victor Stinner2011-10-031-2/+5
* Unicode: raise SystemError instead of ValueError or RuntimeError on invalidVictor Stinner2011-10-031-6/+6
* Unicode: document when the wstr pointer is shared with dataVictor Stinner2011-10-031-1/+23
* Add _PyUnicode_HAS_WSTR_MEMORY() macroVictor Stinner2011-10-031-5/+10
* PyUnicode_Join() checks output length in debug modeVictor Stinner2011-10-031-9/+21
* Fix a compiler warning in PyUnicode_Append()Victor Stinner2011-10-031-8/+14
* Improve string forms and PyUnicode_Resize() documentationVictor Stinner2011-10-031-2/+2
* Simplify unicode_resizable(): singletons reference count is at least 2Victor Stinner2011-10-031-13/+7
* _PyUnicode_CheckConsistency() checks utf8 field consistencyVictor Stinner2011-10-031-0/+6
* unicode_subtype_new() copies also the ascii flagVictor Stinner2011-10-031-1/+1
* unicode_kind_name() doesn't check consistency anymoreVictor Stinner2011-10-031-1/+2
* PyUnicode_Ready() now sets ascii=1 if maxchar < 128Victor Stinner2011-10-031-15/+14
* Create _PyUnicode_READY_REPLACE() to reuse singletonVictor Stinner2011-10-031-22/+72
* Fix resize_compact() and resize_inplace(); reenable full resize optimizationsVictor Stinner2011-10-031-10/+21
* resize_inplace() has been fixed: reenable this optimizationVictor Stinner2011-10-031-3/+0
* _PyUnicode_Dump() indicates if wstr and/or utf8 are sharedVictor Stinner2011-10-031-15/+16