Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #12965: Fix some inaccurate comments in Objects/longobject.c. Thanks ↵ | Mark Dickinson | 2011-10-23 | 1 | -15/+23 |
| | | | | Stefan Krah. | ||||
* | Issue #13201: equality for range objects is now based on equality of the ↵ | Mark Dickinson | 2011-10-23 | 1 | -2/+133 |
| | | | | underlying sequences. Thanks Sven Marnach for the patch. | ||||
* | Merge issue 1294232 patch from 3.2 | Nick Coghlan | 2011-10-23 | 1 | -20/+41 |
|\ | |||||
| * | Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵ | Nick Coghlan | 2011-10-23 | 1 | -20/+41 |
| | | | | | | | | metaclass inheritance. Patch by Daniel Urban. | ||||
* | | Fix unicode_subtype_new() on debug build | Victor Stinner | 2011-10-22 | 1 | -1/+1 |
| | | | | | | | | Patch written by Stefan Behnel. | ||||
* | | Remove unused variable. | Ezio Melotti | 2011-10-21 | 1 | -1/+0 |
| | | |||||
* | | #12753: Add support for Unicode name aliases and named sequences. | Ezio Melotti | 2011-10-21 | 1 | -1/+1 |
| | | |||||
* | | Issue #12170: The count(), find(), rfind(), index() and rindex() methods | Antoine Pitrou | 2011-10-20 | 3 | -31/+133 |
| | | | | | | | | | | of bytes and bytearray objects now accept an integer between 0 and 255 as their first argument. Patch by Petri Lehtinen. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-10-19 | 1 | -5/+4 |
|\ \ | |/ | |||||
| * | adjust braces a bit | Benjamin Peterson | 2011-10-19 | 1 | -5/+4 |
| | | |||||
* | | Add consistency check to _PyUnicode_New() | Victor Stinner | 2011-10-18 | 1 | -0/+1 |
| | | |||||
* | | Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore | Victor Stinner | 2011-10-18 | 1 | -141/+609 |
| | | | | | | | | | | error handlers on all Windows versions. The MBCS codec is now supporting all error handlers, instead of only replace to encode and ignore to decode. | ||||
* | | Issue #13188: When called without an explicit traceback argument, | Antoine Pitrou | 2011-10-18 | 1 | -0/+5 |
|\ \ | |/ | | | | | | | generator.throw() now gets the traceback from the passed exception's ``__traceback__`` attribute. Patch by Petri Lehtinen. | ||||
| * | Issue #13188: When called without an explicit traceback argument, | Antoine Pitrou | 2011-10-18 | 1 | -0/+5 |
| | | | | | | | | | | generator.throw() now gets the traceback from the passed exception's `__traceback__` attribute. Patch by Petri Lehtinen. | ||||
* | | Fix typo | Antoine Pitrou | 2011-10-17 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 (#13199) | Benjamin Peterson | 2011-10-17 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | plug possible refleak (closes #13199) | Benjamin Peterson | 2011-10-17 | 1 | -1/+5 |
| | | |||||
* | | remove some duplication | Benjamin Peterson | 2011-10-15 | 1 | -10/+4 |
| | | |||||
* | | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. | Martin v. Löwis | 2011-10-14 | 2 | -3/+4 |
| | | |||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 10 | -29/+29 |
| | | |||||
* | | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 | Victor Stinner | 2011-10-14 | 4 | -67/+63 |
| | | |||||
* | | dictviews_or() uses _Py_identifier | Victor Stinner | 2011-10-13 | 1 | -1/+3 |
| | | |||||
* | | Use GetAttrId directly. Proposed by Amaury. | Martin v. Löwis | 2011-10-13 | 1 | -8/+1 |
| | | |||||
* | | Reuse the stringlib in findchar(), and make its signature more convenient | Antoine Pitrou | 2011-10-13 | 1 | -39/+41 |
| | | |||||
* | | Add a comment explaining this heuristic. | Antoine Pitrou | 2011-10-13 | 1 | -0/+3 |
| | | |||||
* | | Simplify heuristic for when to use memchr | Antoine Pitrou | 2011-10-13 | 1 | -11/+1 |
| | | |||||
* | | Optimize unicode_subscript() for step != 1 and ascii strings | Victor Stinner | 2011-10-12 | 1 | -8/+12 |
| | | |||||
* | | Don't use PyUnicode_MAX_CHAR_VALUE() macro in Py_MAX() | Victor Stinner | 2011-10-12 | 1 | -2/+3 |
| | | |||||
* | | Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr | Victor Stinner | 2011-10-12 | 1 | -0/+8 |
| | | |||||
* | | Issue #13155: Optimize finding the optimal character width of an unicode string | Antoine Pitrou | 2011-10-12 | 2 | -87/+205 |
| | | |||||
* | | Unicode replace() avoids calling unicode_adjust_maxchar() when it's useless | Victor Stinner | 2011-10-12 | 1 | -40/+38 |
| | | | | | | | | Add also a special case if the result is an empty string. | ||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -184/+349 |
| | | |||||
* | | Backed out changeset 952d91a7d376 | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | | | | | | | | If maxchar == PyUnicode_MAX_CHAR_VALUE(unicode), we do an useless copy. | ||||
* | | Relax condition | Antoine Pitrou | 2011-10-11 | 1 | -1/+1 |
| | | |||||
* | | stringlib: Fix STRINGLIB_STR for UCS2/UCS4 | Victor Stinner | 2011-10-11 | 2 | -2/+2 |
| | | |||||
* | | Fix compiler warning in _PyUnicode_FromUCS2() | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | | |||||
* | | Fix fastsearch for UCS2 and UCS4 | Victor Stinner | 2011-10-11 | 8 | -2/+15 |
| | | | | | | | | | | * If needle is 0, try (p[0] >> 16) & 0xff for UCS4 * Disable fastsearch_memchr_1char() if needle is zero for UCS2 and UCS4 | ||||
* | | Use _PyUnicode_CONVERT_BYTES() where applicable. | Antoine Pitrou | 2011-10-11 | 1 | -12/+17 |
| | | |||||
* | | PyUnicode_AsUnicodeCopy() now checks if PyUnicode_AsUnicode() failed | Victor Stinner | 2011-10-11 | 1 | -2/+5 |
| | | |||||
* | | Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead | Victor Stinner | 2011-10-11 | 1 | -3/+3 |
| | | |||||
* | | Reuse PyUnicode_Copy() in validate_and_copy_tuple() | Victor Stinner | 2011-10-11 | 1 | -3/+1 |
| | | |||||
* | | Issue #13136: speed up conversion between different character widths. | Antoine Pitrou | 2011-10-11 | 1 | -5/+14 |
| | | |||||
* | | Issue #13134: optimize finding single-character strings using memchr | Antoine Pitrou | 2011-10-11 | 1 | -0/+73 |
| | | |||||
* | | /* Remove unused code. It has been committed out since 2000 (!). */ | Antoine Pitrou | 2011-10-11 | 1 | -54/+0 |
| | | |||||
* | | Avoid exporting private helpers | Antoine Pitrou | 2011-10-10 | 1 | -6/+6 |
| | | | | | | | | (thanks "make smelly") | ||||
* | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 8 | -28/+43 |
| | | |||||
* | | any_find_slice() doesn't use callbacks anymore | Victor Stinner | 2011-10-10 | 1 | -52/+43 |
| | | | | | | | | | | * Call directly the right find/rfind method: allow inlining functions * Remove Py_LOCAL_CALLBACK (added for any_find_slice) | ||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 8 | -50/+172 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Fix typo in the PyUnicode_Find() implementation | Antoine Pitrou | 2011-10-08 | 1 | -1/+1 |
| | | |||||
* | | Closes #12192: Document that mutating list methods do not return the ↵ | Georg Brandl | 2011-10-08 | 1 | -4/+4 |
| | | | | | | | | instance (original patch by Mike Hoy). |