| Tue, 18 Oct 2011 22:10:14 +0200 |
Victor Stinner |
Add consistency check to _PyUnicode_New()
|
| Tue, 18 Oct 2011 21:21:00 +0200 |
Victor Stinner |
Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore
|
| Sat, 15 Oct 2011 09:25:28 -0400 |
Benjamin Peterson |
remove some duplication
|
| Fri, 14 Oct 2011 02:13:11 +0200 |
Victor Stinner |
Issue #13088: Add shared Py_hexdigits constant to format a number into base 16
|
| Thu, 13 Oct 2011 18:55:09 +0200 |
Antoine Pitrou |
Reuse the stringlib in findchar(), and make its signature more convenient
|
| Thu, 13 Oct 2011 01:17:06 +0200 |
Victor Stinner |
Optimize unicode_subscript() for step != 1 and ascii strings
|
| Thu, 13 Oct 2011 01:12:34 +0200 |
Victor Stinner |
Don't use PyUnicode_MAX_CHAR_VALUE() macro in Py_MAX()
|
| Thu, 13 Oct 2011 00:18:12 +0200 |
Victor Stinner |
Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr
|
| Thu, 13 Oct 2011 00:02:27 +0200 |
Antoine Pitrou |
Issue #13155: Optimize finding the optimal character width of an unicode string
|
| Wed, 12 Oct 2011 23:46:10 +0200 |
Victor Stinner |
Unicode replace() avoids calling unicode_adjust_maxchar() when it's useless
|
| Wed, 12 Oct 2011 00:54:35 +0200 |
Victor Stinner |
Backed out changeset 952d91a7d376
|
| Wed, 12 Oct 2011 00:36:51 +0200 |
Antoine Pitrou |
Relax condition
|
| Tue, 11 Oct 2011 23:27:52 +0200 |
Victor Stinner |
Fix compiler warning in _PyUnicode_FromUCS2()
|
| Tue, 11 Oct 2011 22:45:48 +0200 |
Antoine Pitrou |
Use _PyUnicode_CONVERT_BYTES() where applicable.
|
| Tue, 11 Oct 2011 22:12:48 +0200 |
Victor Stinner |
PyUnicode_AsUnicodeCopy() now checks if PyUnicode_AsUnicode() failed
|
| Tue, 11 Oct 2011 22:11:42 +0200 |
Victor Stinner |
Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead
|
| Tue, 11 Oct 2011 20:58:41 +0200 |
Antoine Pitrou |
Issue #13136: speed up conversion between different character widths.
|
| Tue, 11 Oct 2011 03:17:47 +0200 |
Antoine Pitrou |
/* Remove unused code. It has been committed out since 2000 (!). */
|
| Mon, 10 Oct 2011 23:49:24 +0200 |
Antoine Pitrou |
Avoid exporting private helpers
|
| Mon, 10 Oct 2011 03:21:36 +0200 |
Victor Stinner |
any_find_slice() doesn't use callbacks anymore
|
| Sun, 09 Oct 2011 10:38:36 +0200 |
Martin v. Löwis |
Add API for static strings, primarily good for identifiers.
|
| Sun, 09 Oct 2011 00:33:09 +0200 |
Antoine Pitrou |
Fix typo in the PyUnicode_Find() implementation
|
| Fri, 07 Oct 2011 20:55:35 +0200 |
Martin v. Löwis |
Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.
|
| Fri, 07 Oct 2011 17:02:31 +0200 |
Victor Stinner |
PyUnicode_Join() calls directly memcpy() if all strings are of the same kind
|
| Fri, 07 Oct 2011 12:35:48 +0200 |
Antoine Pitrou |
Fix formatting memory consumption with very large padding specifications
|
| Fri, 07 Oct 2011 10:01:28 +0200 |
Victor Stinner |
str.replace(a, a) is now returning str unchanged if a is a
|
| Fri, 07 Oct 2011 01:54:09 +0200 |
Antoine Pitrou |
Fix massive slowdown in string formatting with the % operator
|
| Thu, 06 Oct 2011 22:07:51 +0200 |
Antoine Pitrou |
Ensure that 1-char singletons get used
|
| Thu, 06 Oct 2011 15:58:54 +0200 |
Victor Stinner |
Fix PyUnicode_Join() for len==1 and non-exact string
|
| Thu, 06 Oct 2011 15:25:32 +0200 |
Antoine Pitrou |
Fix compilation under Windows
|
| Thu, 06 Oct 2011 13:27:56 +0200 |
Victor Stinner |
Fix assertion in unicode_adjust_maxchar()
|
| Thu, 06 Oct 2011 12:32:37 +0200 |
Victor Stinner |
Fix my last change on PyUnicode_Join(): don't process separator if len==1
|
| Thu, 06 Oct 2011 12:31:55 +0200 |
Victor Stinner |
str.replace() avoids memory when it's possible
|
| Thu, 06 Oct 2011 02:47:11 +0200 |
Victor Stinner |
_copy_characters() fails more quickly in debug mode on inconsistent state
|
| Thu, 06 Oct 2011 02:36:59 +0200 |
Victor Stinner |
Fix a compiler warning: don't define unicode_is_singleton() in release mode
|
| Thu, 06 Oct 2011 01:45:57 +0200 |
Victor Stinner |
Don't check for the maximum character when copying from unicodeobject.c
|
| Thu, 06 Oct 2011 01:13:58 +0200 |
Victor Stinner |
Fix post-condition in unicode_repr(): check the result, not the input
|
| Wed, 05 Oct 2011 23:27:08 +0200 |
Victor Stinner |
replace() uses unicode_fromascii() if the input and replace string is ASCII
|
| Wed, 05 Oct 2011 23:26:01 +0200 |
Victor Stinner |
unicode_fromascii() checks that the input is ASCII in debug mode
|
| Wed, 05 Oct 2011 21:24:08 +0200 |
Victor Stinner |
Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII
|
| Wed, 05 Oct 2011 20:58:25 +0200 |
Victor Stinner |
Fix PyUnicode_Partition(): str_in->str_obj
|
| Wed, 05 Oct 2011 01:34:17 +0200 |
Victor Stinner |
Ensure that newly created strings use the most efficient store in debug mode
|
| Wed, 05 Oct 2011 00:59:23 +0200 |
Victor Stinner |
Replace PyUnicodeObject* with PyObject* where it was inappropriate
|
| Wed, 05 Oct 2011 00:42:43 +0200 |
Victor Stinner |
unicodeobject.c doesn't make output strings ready in debug mode
|
| Wed, 05 Oct 2011 16:36:47 +0200 |
Georg Brandl |
More typoes.
|
| Wed, 05 Oct 2011 14:13:28 +0200 |
Victor Stinner |
Speedup str[a:b:step] for step != 1
|
| Wed, 05 Oct 2011 14:02:44 +0200 |
Victor Stinner |
Speedup find_maxchar_surrogates() for 32-bit wchar_t
|
| Wed, 05 Oct 2011 14:01:42 +0200 |
Victor Stinner |
Speedup str[a:b] and PyUnicode_FromKindAndData
|
| Wed, 05 Oct 2011 13:50:52 +0200 |
Victor Stinner |
Speedup the ASCII decoder
|
| Tue, 04 Oct 2011 20:53:03 +0200 |
Victor Stinner |
Fix usage og PyUnicode_READY()
|
| Tue, 04 Oct 2011 20:52:31 +0200 |
Victor Stinner |
_PyUnicode_READY_REPLACE() cannot be used in unicode_subtype_new()
|
| Tue, 04 Oct 2011 20:05:46 +0200 |
Victor Stinner |
Add DONT_MAKE_RESULT_READY to unicodeobject.c to help detecting bugs
|
| Tue, 04 Oct 2011 20:04:52 +0200 |
Victor Stinner |
Add assertion to _Py_ReleaseInternedUnicodeStrings() if READY fails
|
| Tue, 04 Oct 2011 20:00:49 +0200 |
Antoine Pitrou |
Fix naïve heuristic in unicode slicing (followup to 1b4f886dc9e2)
|
| Tue, 04 Oct 2011 19:10:51 +0200 |
Antoine Pitrou |
Add a necessary call to PyUnicode_READY() (followup to ab5086539ab9)
|
| Tue, 04 Oct 2011 19:08:01 +0200 |
Antoine Pitrou |
Optimize string slicing to use the new API
|
| Tue, 04 Oct 2011 16:04:01 +0200 |
Antoine Pitrou |
When expandtabs() would be a no-op, don't create a duplicate string
|
| Tue, 04 Oct 2011 15:55:09 +0200 |
Antoine Pitrou |
Migrate str.expandtabs to the new API
|
| Mon, 03 Oct 2011 19:37:29 -0400 |
Benjamin Peterson |
fix parens
|
| Mon, 03 Oct 2011 19:35:07 -0400 |
Benjamin Peterson |
fix formatting
|