summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/unicode_format.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)Victor Stinner2011-12-011-1/+1
| | | | Create an empty string with the new Unicode API.
* Replace PyUnicodeObject type by PyObjectVictor Stinner2011-11-031-12/+8
| | | | | * _PyUnicode_CheckConsistency() now takes a PyObject* instead of void* * Remove now useless casts to PyObject*
* Fix massive slowdown in string formatting with str.format.Antoine Pitrou2011-10-071-128/+24
| | | | | | | | | | Example: ./python -m timeit -s "f='{}' + '-' * 1024 + '{}'; s='abcd' * 16384" "f.format(s, s)" -> before: 547 usec per loop -> after: 13 usec per loop -> 3.2: 22.5 usec per loop -> 2.7: 12.6 usec per loop
* Fix compilation warnings under 64-bit WindowsAntoine Pitrou2011-10-061-1/+1
|
* Implement PEP 393.Martin v. Löwis2011-09-281-0/+1416