Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | unicode_empty and unicode_latin1 are PyObject* objects, not PyUnicodeObject* | Victor Stinner | 2011-10-02 | 1 | -15/+15 | |
| | | ||||||
* | | Check error when calling PyUnicode_AppendAndDel() | Victor Stinner | 2011-10-02 | 2 | -5/+7 | |
| | | ||||||
* | | PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build result | Victor Stinner | 2011-10-02 | 1 | -2/+3 | |
| | | ||||||
* | | merge from 3.2 - Document message_body arg in HTTPConnection.endheaders | Senthil Kumaran | 2011-10-02 | 1 | -2/+6 | |
|\ \ | |/ | ||||||
| * | Document message_body arg in HTTPConnection.endheaders | Senthil Kumaran | 2011-10-02 | 1 | -2/+6 | |
| | | ||||||
* | | Fix ResourceWarnings in the TIPC socket tests. | Antoine Pitrou | 2011-10-02 | 1 | -2/+7 | |
|\ \ | |/ | ||||||
| * | Fix ResourceWarnings in the TIPC socket tests. | Antoine Pitrou | 2011-10-02 | 1 | -2/+7 | |
| | | ||||||
* | | merge heads | Benjamin Peterson | 2011-10-02 | 1 | -8/+6 | |
|\ \ | ||||||
| * | | Issue #13084: Fix a test_signal failure: the delivery order is only defined for | Charles-François Natali | 2011-10-02 | 1 | -8/+6 | |
| | | | | | | | | | | | | real-time signals. | |||||
* | | | remove unused label | Benjamin Peterson | 2011-10-02 | 1 | -1/+0 | |
|/ / | ||||||
* | | #13076: merge with 3.2. | Ezio Melotti | 2011-10-02 | 1 | -76/+76 | |
|\ \ | |/ | ||||||
| * | #13076: fix links to datetime.time and datetime.datetime. | Ezio Melotti | 2011-10-02 | 1 | -76/+76 | |
| | | ||||||
* | | PyUnicode_FindChar() raises a IndexError on invalid index | Victor Stinner | 2011-10-01 | 1 | -0/+4 | |
| | | ||||||
* | | Optimize _PyUnicode_AsKind() for UCS1->UCS4 and UCS2->UCS4 | Victor Stinner | 2011-10-01 | 1 | -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.h | Victor Stinner | 2011-10-01 | 1 | -2/+2 | |
| | | ||||||
* | | Fix usage of PyUnicode_READY() in PyUnicode_GetLength() | Victor Stinner | 2011-10-01 | 1 | -1/+1 | |
| | | ||||||
* | | PyUnicode_WriteChar() raises IndexError on invalid index | Victor Stinner | 2011-10-01 | 2 | -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 invalid | Victor Stinner | 2011-10-01 | 1 | -14/+11 | |
| | | | | | | | | unicode_getitem() reuses PyUnicode_ReadChar() | |||||
* | | PyUnicode_FromKindAndData() raises a ValueError if the kind is unknown | Victor Stinner | 2011-10-01 | 1 | -1/+1 | |
| | | ||||||
* | | merge #4147: minidom's toprettyxml no longer adds whitespace to text nodes. | R David Murray | 2011-10-01 | 4 | -2/+14 | |
|\ \ | |/ | ||||||
| * | #4147: minidom's toprettyxml no longer adds whitespace to text nodes. | R David Murray | 2011-10-01 | 4 | -2/+14 | |
| | | | | | | | | Patch by Dan Kenigsberg. | |||||
* | | Issue #13034: When decoding some SSL certificates, the subjectAltName ↵ | Antoine Pitrou | 2011-10-01 | 4 | -1/+61 | |
|\ \ | |/ | | | | | extension could be unreported. | |||||
| * | Issue #13034: When decoding some SSL certificates, the subjectAltName ↵ | Antoine Pitrou | 2011-10-01 | 4 | -1/+61 | |
| | | | | | | | | extension could be unreported. | |||||
* | | Optimize unicode_subtype_new(): don't encode to wchar_t and decode from wchar_t | Victor Stinner | 2011-10-01 | 2 | -46/+84 | |
| | | | | | | | | Rewrite unicode_subtype_new(): allocate directly the right type. | |||||
* | | Add _PyUnicode_UTF8() and _PyUnicode_UTF8_LENGTH() macros | Victor Stinner | 2011-10-01 | 1 | -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 Pitrou | 2011-10-01 | 1 | -1/+1 | |
| | | | | | | | | Issue #12804: Prevent "make test" from using network resources. | |||||
* | | Issue 13085: Fix some memory leaks. Patch by Stefan Krah. | Martin v. Löwis | 2011-10-01 | 2 | -11/+20 | |
| | | ||||||
* | | merge heads | Benjamin Peterson | 2011-10-01 | 2 | -3/+8 | |
|\ \ | ||||||
| * | | PyUnicode_Substring() now accepts end bigger than string length | Victor Stinner | 2011-10-01 | 1 | -3/+6 | |
| | | | | | | | | | | | | Fix also a bug: call PyUnicode_READY() before reading string length. | |||||
| * | | _PyUnicode_AsKind() is *not* part of the stable ABI | Victor Stinner | 2011-10-01 | 1 | -0/+2 | |
| | | | ||||||
* | | | remove reference to non-existent file | Benjamin Peterson | 2011-10-01 | 1 | -2/+1 | |
|/ / | ||||||
* | | remove "fast-path" for (i)adding strings | Benjamin Peterson | 2011-10-01 | 2 | -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 Stinner | 2011-10-01 | 1 | -1/+1 | |
| | | ||||||
* | | PyUnicode_FromObject() ensures that its output is a ready string | Victor Stinner | 2011-10-01 | 1 | -0/+2 | |
| | | ||||||
* | | I want a super fast 'a' * n! | Victor Stinner | 2011-10-01 | 1 | -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 Stinner | 2011-10-01 | 1 | -2/+5 | |
| | | ||||||
* | | Fix usage of PyUnicode_READY in unicodeobject.c | Victor Stinner | 2011-10-01 | 1 | -19/+12 | |
| | | ||||||
* | | Remove private substring() function, reuse public PyUnicode_Substring() | Victor Stinner | 2011-09-30 | 1 | -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 character | Victor Stinner | 2011-09-30 | 1 | -3/+28 | |
| | | ||||||
* | | Remove commented code: str+=str is no more super-optimized | Victor Stinner | 2011-09-30 | 1 | -112/+6 | |
| | | ||||||
* | | PyUnicode_FromObject() reuses PyUnicode_Copy() | Victor Stinner | 2011-09-30 | 1 | -4/+2 | |
| | | | | | | | | | | * PyUnicode_Copy() is faster than substring() * Fix also a compiler warning | |||||
* | | pyexat uses the new Unicode API | Victor Stinner | 2011-09-30 | 1 | -5/+7 | |
| | | ||||||
* | | Fix ResourceWarnings in makeunicodedata.py. | Ezio Melotti | 2011-09-30 | 1 | -81/+88 | |
| | | ||||||
* | | Add PyUnicode_Copy() function, include it to the public API | Victor Stinner | 2011-09-30 | 3 | -21/+27 | |
| | | ||||||
* | | PyUnicode_CopyCharacters() uses exceptions instead of assertions | Victor Stinner | 2011-09-30 | 1 | -2/+4 | |
| | | | | | | | | Call PyErr_BadInternalCall() if inputs are not unicode strings. | |||||
* | | Fix a compiler warning | Victor Stinner | 2011-09-29 | 1 | -1/+1 | |
| | | ||||||
* | | Fix array.array('u') constructor | Victor Stinner | 2011-09-29 | 1 | -6/+12 | |
| | | ||||||
* | | posix module catches PyUnicode_AsUnicode() failure | Victor Stinner | 2011-09-29 | 1 | -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 API | Victor Stinner | 2011-09-29 | 2 | -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_UNICODE | Victor Stinner | 2011-09-29 | 1 | -19/+16 | |
| | |