- 01 Oct, 2011 6 commits
-
-
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 26 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
-
Victor Stinner authored
Cleanup also the code (avoid the goto).
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Victor Stinner authored
To make it clearer that Py_BUILD_ASSERT_EXPR(cond) cannot be used as assert(cond).
-
http://ccodearchive.net/Victor Stinner authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Ezio Melotti authored
-