summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | unicode_empty and unicode_latin1 are PyObject* objects, not PyUnicodeObject*Victor Stinner2011-10-021-15/+15
| |
* | Check error when calling PyUnicode_AppendAndDel()Victor Stinner2011-10-022-5/+7
| |
* | PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build resultVictor Stinner2011-10-021-2/+3
| |
* | merge from 3.2 - Document message_body arg in HTTPConnection.endheadersSenthil Kumaran2011-10-021-2/+6
|\ \ | |/
| * Document message_body arg in HTTPConnection.endheadersSenthil Kumaran2011-10-021-2/+6
| |
* | Fix ResourceWarnings in the TIPC socket tests.Antoine Pitrou2011-10-021-2/+7
|\ \ | |/
| * Fix ResourceWarnings in the TIPC socket tests.Antoine Pitrou2011-10-021-2/+7
| |
* | merge headsBenjamin Peterson2011-10-021-8/+6
|\ \
| * | Issue #13084: Fix a test_signal failure: the delivery order is only defined forCharles-François Natali2011-10-021-8/+6
| | | | | | | | | | | | real-time signals.
* | | remove unused labelBenjamin Peterson2011-10-021-1/+0
|/ /
* | #13076: merge with 3.2.Ezio Melotti2011-10-021-76/+76
|\ \ | |/
| * #13076: fix links to datetime.time and datetime.datetime.Ezio Melotti2011-10-021-76/+76
| |
* | PyUnicode_FindChar() raises a IndexError on invalid indexVictor Stinner2011-10-011-0/+4
| |
* | Optimize _PyUnicode_AsKind() for UCS1->UCS4 and UCS2->UCS4Victor Stinner2011-10-011-25/+43
| | | | | | | | | | * Ensure that the input string is ready * Raise a ValueError instead of of a fatal error
* | Use Py_UCS1 instead of unsigned char in unicodeobject.hVictor Stinner2011-10-011-2/+2
| |
* | Fix usage of PyUnicode_READY() in PyUnicode_GetLength()Victor Stinner2011-10-011-1/+1
| |
* | PyUnicode_WriteChar() raises IndexError on invalid indexVictor Stinner2011-10-012-8/+24
| | | | | | | | | | PyUnicode_WriteChar() raises also a ValueError if the string has more than 1 reference.
* | PyUnicode_ReadChar() raises a IndexError if the index in invalidVictor Stinner2011-10-011-14/+11
| | | | | | | | unicode_getitem() reuses PyUnicode_ReadChar()
* | PyUnicode_FromKindAndData() raises a ValueError if the kind is unknownVictor Stinner2011-10-011-1/+1
| |
* | merge #4147: minidom's toprettyxml no longer adds whitespace to text nodes.R David Murray2011-10-014-2/+14
|\ \ | |/
| * #4147: minidom's toprettyxml no longer adds whitespace to text nodes.R David Murray2011-10-014-2/+14
| | | | | | | | Patch by Dan Kenigsberg.
* | Issue #13034: When decoding some SSL certificates, the subjectAltName ↵Antoine Pitrou2011-10-014-1/+61
|\ \ | |/ | | | | extension could be unreported.
| * Issue #13034: When decoding some SSL certificates, the subjectAltName ↵Antoine Pitrou2011-10-014-1/+61
| | | | | | | | extension could be unreported.
* | Optimize unicode_subtype_new(): don't encode to wchar_t and decode from wchar_tVictor Stinner2011-10-012-46/+84
| | | | | | | | Rewrite unicode_subtype_new(): allocate directly the right type.
* | Add _PyUnicode_UTF8() and _PyUnicode_UTF8_LENGTH() macrosVictor Stinner2011-10-011-41/+54
| | | | | | | | | | | | * Rename existing _PyUnicode_UTF8() macro to PyUnicode_UTF8() * Rename existing _PyUnicode_UTF8_LENGTH() macro to PyUnicode_UTF8_LENGTH() * PyUnicode_UTF8() and PyUnicode_UTF8_LENGTH() are more strict
* | Backout of changeset 228fd2bd83a5 by Nadeem Vawda in branch 'default':Antoine Pitrou2011-10-011-1/+1
| | | | | | | | Issue #12804: Prevent "make test" from using network resources.
* | Issue 13085: Fix some memory leaks. Patch by Stefan Krah.Martin v. Löwis2011-10-012-11/+20
| |
* | merge headsBenjamin Peterson2011-10-012-3/+8
|\ \
| * | PyUnicode_Substring() now accepts end bigger than string lengthVictor Stinner2011-10-011-3/+6
| | | | | | | | | | | | Fix also a bug: call PyUnicode_READY() before reading string length.
| * | _PyUnicode_AsKind() is *not* part of the stable ABIVictor Stinner2011-10-011-0/+2
| | |
* | | remove reference to non-existent fileBenjamin Peterson2011-10-011-2/+1
|/ /
* | remove "fast-path" for (i)adding stringsBenjamin Peterson2011-10-012-8/+14
| | | | | | | | | | | | These were just an artifact of the old unicode concatenation hack and likely just penalized other kinds of adding. Also, this fixes __(i)add__ on string subclasses.
* | Ooops, avoid a division by zero in unicode_repeat()Victor Stinner2011-10-011-1/+1
| |
* | PyUnicode_FromObject() ensures that its output is a ready stringVictor Stinner2011-10-011-0/+2
| |
* | I want a super fast 'a' * n!Victor Stinner2011-10-011-15/+10
| | | | | | | | | | | | | | * Optimize unicode_repeat() for a special case with memset() * Simplify integer overflow checking; remove the second check because PyUnicode_New() already does it and uses a smaller limit (Py_ssize_t vs size_t)
* | PyUnicode_CHARACTER_SIZE(): add a reference to PyUnicode_KIND_SIZE()Victor Stinner2011-10-011-2/+5
| |
* | Fix usage of PyUnicode_READY in unicodeobject.cVictor Stinner2011-10-011-19/+12
| |
* | Remove private substring() function, reuse public PyUnicode_Substring()Victor Stinner2011-09-301-62/+22
| | | | | | | | | | * PyUnicode_Substring() now fails if start or end is invalid * PyUnicode_Substring() reuses PyUnicode_Copy() for non-exact strings
* | Optimize PyUnicode_Copy(): don't recompute maximum characterVictor Stinner2011-09-301-3/+28
| |
* | Remove commented code: str+=str is no more super-optimizedVictor Stinner2011-09-301-112/+6
| |
* | PyUnicode_FromObject() reuses PyUnicode_Copy()Victor Stinner2011-09-301-4/+2
| | | | | | | | | | * PyUnicode_Copy() is faster than substring() * Fix also a compiler warning
* | pyexat uses the new Unicode APIVictor Stinner2011-09-301-5/+7
| |
* | Fix ResourceWarnings in makeunicodedata.py.Ezio Melotti2011-09-301-81/+88
| |
* | Add PyUnicode_Copy() function, include it to the public APIVictor Stinner2011-09-303-21/+27
| |
* | PyUnicode_CopyCharacters() uses exceptions instead of assertionsVictor Stinner2011-09-301-2/+4
| | | | | | | | Call PyErr_BadInternalCall() if inputs are not unicode strings.
* | Fix a compiler warningVictor Stinner2011-09-291-1/+1
| |
* | Fix array.array('u') constructorVictor Stinner2011-09-291-6/+12
| |
* | posix module catches PyUnicode_AsUnicode() failureVictor Stinner2011-09-291-96/+167
| | | | | | | | | | | | * Replace PyUnicode_AS_UNICODE by PyUnicode_AsUnicode, PyUnicode_AS_UNICODE is no more a real macro * Replace Py_UNICODE by wchar_t in code specific to Windows
* | array module uses the new Unicode APIVictor Stinner2011-09-292-35/+36
| | | | | | | | | | * Use Py_UCS4* buffer instead of Py_UNICODE* * Use "I" or "L" format, instead of "u" format
* | array module stores the typecode in a char, instead of Py_UNICODEVictor Stinner2011-09-291-19/+16
| |