- 01 Oct, 2011 16 commits
-
-
Antoine Pitrou authored
Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported.
-
Antoine Pitrou authored
Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported.
-
Victor Stinner authored
Rewrite unicode_subtype_new(): allocate directly the right type.
-
Victor Stinner authored
* 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
-
Antoine Pitrou authored
Issue #12804: Prevent "make test" from using network resources.
-
Martin v. Löwis authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Victor Stinner authored
Fix also a bug: call PyUnicode_READY() before reading string length.
-
Victor Stinner authored
-
Benjamin Peterson authored
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.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* 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)
-
Victor Stinner authored
-
Victor Stinner authored
-
- 30 Sep, 2011 8 commits
-
-
Victor Stinner authored
* PyUnicode_Substring() now fails if start or end is invalid * PyUnicode_Substring() reuses PyUnicode_Copy() for non-exact strings
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* PyUnicode_Copy() is faster than substring() * Fix also a compiler warning
-
Victor Stinner authored
-
Ezio Melotti authored
-
Victor Stinner authored
-
Victor Stinner authored
Call PyErr_BadInternalCall() if inputs are not unicode strings.
-
- 29 Sep, 2011 16 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* 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
-
Victor Stinner authored
* Use Py_UCS4* buffer instead of Py_UNICODE* * Use "I" or "L" format, instead of "u" format
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Charles-François Natali authored
-
Charles-François Natali authored
Jarosch.
-
Charles-François Natali authored
Jarosch.
-
Victor Stinner authored
* Change its prototype: PyObject* instead of PyUnicodeoObject*. * Remove an old assertion, the result of PyUnicode_READY (_PyUnicode_Ready) must be checked instead
-
Victor Stinner authored
Move these macros to unicodeobject.c
-