summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
Commit message (Expand)AuthorAgeFilesLines
* PyUnicode_Resize(): warn about canonical representationVictor Stinner2011-12-121-12/+13
* Fix PyUnicode_Resize() for compact string: leave the string unchanged on errorVictor Stinner2011-12-121-20/+9
* Make PyUnicode_Copy() private => _PyUnicode_Copy()Victor Stinner2011-12-121-6/+6
* resize_copy() now supports legacy ready stringsVictor Stinner2011-12-121-13/+15
* Rewrite PyUnicode_Append(); unicode_modifiable() is more strictVictor Stinner2011-12-121-79/+84
* Create unicode_result_unchanged() subfunctionVictor Stinner2011-12-111-69/+48
* Fix fixup() for unchanged unicode subtypeVictor Stinner2011-12-111-33/+33
* unicode_fromascii() doesn't check string content twice in debug modeVictor Stinner2011-12-111-6/+3
* Call directly PyUnicode_DecodeUTF8Stateful() instead of PyUnicode_DecodeUTF8()Victor Stinner2011-12-111-33/+14
* Use directly unicode_empty instead of PyUnicode_New(0, 0)Victor Stinner2011-12-111-6/+12
* Move the slowest UTF-8 decoder to its own subfunctionVictor Stinner2011-12-111-128/+98
* Fix error handling in resize_compact()Victor Stinner2011-12-111-5/+9
* PyUnicode_FromWideChar() and PyUnicode_FromUnicode() raise a ValueError if aVictor Stinner2011-12-081-33/+34
* Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macrosVictor Stinner2011-11-291-26/+19
* Close #13093: PyUnicode_EncodeDecimal() doesn't support error handlersVictor Stinner2011-11-251-113/+18
* and back to the "magic" formula (with a comment) it isBenjamin Peterson2011-11-231-15/+3
* cave to those who like readable codeBenjamin Peterson2011-11-221-1/+15
* fix compiler warning by implementing this more cleverlyBenjamin Peterson2011-11-221-6/+1
* find_maxchar_surrogates() reuses surrogate macrosVictor Stinner2011-11-221-4/+4
* Issue #13441: Disable temporary the check on the maximum character untilVictor Stinner2011-11-221-20/+12
* Fix compiler warningsVictor Stinner2011-11-221-1/+2
* (Merge 3.2) Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()Victor Stinner2011-11-221-4/+8
* PyUnicode_FromKindAndData() fails with a ValueError if size < 0Victor Stinner2011-11-221-1/+4
* UTF-8 decoder: set consumed value in the latin1 fast-pathVictor Stinner2011-11-221-0/+3
* Replace _PyUnicode_READY_REPLACE() and _PyUnicode_ReadyReplace() with unicode...Victor Stinner2011-11-221-143/+150
* Rewrite PyUnicode_TransformDecimalToASCII() to use the new Unicode APIVictor Stinner2011-11-211-17/+26
* Remove an unused variable from PyUnicode_Copy()Victor Stinner2011-11-211-2/+0
* Simplify PyUnicode_Copy()Victor Stinner2011-11-211-26/+7
* Fix a compiler warning in _PyUnicode_CheckConsistency()Victor Stinner2011-11-211-1/+1
* Rewrite PyUnicode_EncodeDecimal() to use the new Unicode APIVictor Stinner2011-11-211-44/+53
* Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case.Antoine Pitrou2011-11-211-107/+121
* Issue #13441: _PyUnicode_CheckConsistency() dumps the string if the maximumVictor Stinner2011-11-211-0/+13
* Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()Victor Stinner2011-11-211-2/+2
* PyObject_Str() ensures that the result string is readyVictor Stinner2011-11-201-2/+0
* PyUnicode_AsUTF32String() calls directly _PyUnicode_EncodeUTF32(),Victor Stinner2011-11-201-6/+1
* _PyUnicode_CheckConsistency() also checks maxchar maximum value,Victor Stinner2011-11-201-3/+9
* Remove the two ugly and unused WRITE_ASCII_OR_WSTR and WRITE_WSTR macrosVictor Stinner2011-11-201-18/+0
* Reuse surrogate macros in UTF-16 decoderVictor Stinner2011-11-201-5/+4
* charmap_encoding_error() uses the new Unicode APIVictor Stinner2011-11-201-3/+13
* Use PyUnicode_EncodeCodePage() instead of PyUnicode_EncodeMBCS() withVictor Stinner2011-11-201-16/+3
* charmap encoders uses Py_UCS4, not Py_UNICODEVictor Stinner2011-11-201-7/+4
* Catch PyUnicode_AS_UNICODE() errorsVictor Stinner2011-11-171-11/+22
* #13406: silence deprecation warnings in test_codecs.Ezio Melotti2011-11-161-1/+1
* Issue #13333: The UTF-7 decoder now accepts lone surrogatesAntoine Pitrou2011-11-151-9/+7
|\
| * Issue #13333: The UTF-7 decoder now accepts lone surrogatesAntoine Pitrou2011-11-151-9/+5
* | Sanitize reference management in the utf-8 encoderAntoine Pitrou2011-11-121-5/+4
* | Fix regression on 2-byte wchar_t systems (Windows)Antoine Pitrou2011-11-111-7/+12
* | Avoid crashing because of an unaligned word accessAntoine Pitrou2011-11-111-1/+9
* | Issue #13149: Speed up append-only StringIO objects.Antoine Pitrou2011-11-101-1/+1
* | Fix and deprecated the unicode_internal codecVictor Stinner2011-11-101-6/+22