Victor Stinner
|
b37b17423b
|
Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)
Create an empty string with the new Unicode API.
|
2011-12-01 03:18:59 +01:00 |
Victor Stinner
|
7931d9a951
|
Replace PyUnicodeObject type by PyObject
* _PyUnicode_CheckConsistency() now takes a PyObject* instead of void*
* Remove now useless casts to PyObject*
|
2011-11-04 00:22:48 +01:00 |
Antoine Pitrou
|
4574e62c6e
|
Fix massive slowdown in string formatting with str.format.
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
|
2011-10-07 02:26:47 +02:00 |
Antoine Pitrou
|
dbf697ae5c
|
Fix compilation warnings under 64-bit Windows
|
2011-10-06 15:34:41 +02:00 |
Martin v. Löwis
|
d63a3b8beb
|
Implement PEP 393.
|
2011-09-28 07:41:54 +02:00 |