3917 Commits (0d3072e98d9be9cfcdccefd60dbaca2c19e8d889)

Author SHA1 Message Date
Martin v. Löwis 0d3072e98d Drop Py_UCS4_ functions. Closes #13246. 14 years ago
Benjamin Peterson 2b50a01d11 remove unused variable 14 years ago
Petri Lehtinen e0aa803714 Fix the return value of set_discard (issue #10519) 14 years ago
Petri Lehtinen 5acc27ebe4 Avoid unnecessary recursive function calls (closes #10519) 14 years ago
Petri Lehtinen a94200e6ce Issue #13018: Fix reference leaks in error paths in dictobject.c. 14 years ago
Victor Stinner 57ffa9d4ff PyUnicode_AsUnicodeCopy() uses PyUnicode_AsUnicodeAndSize() to get directly the length 14 years ago
Victor Stinner af9e4b8c29 Fix PyUnicode_InternImmortal(): PyUnicode_InternInPlace() may changes *p 14 years ago
Victor Stinner 9faa384bed Cast directly to unsigned char, instead of using Py_CHARMASK 14 years ago
Victor Stinner 9db1a8b69f Replace PyUnicodeObject* by PyObject* where it was irrevelant 14 years ago
Victor Stinner 0d60e87ad6 Fix data variable in _PyUnicode_Dump() for compact ASCII 14 years ago
Victor Stinner d8e61c348e Remove last references to the removed Unicode free list 14 years ago
Victor Stinner 065836ec9c PyUnicode_FSDecoder() ensures that the decoded string is ready 14 years ago
Mark Dickinson 8d48b43ea9 Issue #12965: Fix some inaccurate comments in Objects/longobject.c. Thanks Stefan Krah. 14 years ago
Mark Dickinson 36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 14 years ago
Nick Coghlan de31b191e5 Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban. 14 years ago
Victor Stinner dd18d3ad9e Fix unicode_subtype_new() on debug build 14 years ago
Ezio Melotti f881751ded Remove unused variable. 14 years ago
Ezio Melotti 931b8aac80 #12753: Add support for Unicode name aliases and named sequences. 14 years ago
Antoine Pitrou ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods 14 years ago
Benjamin Peterson 9d9141f5db adjust braces a bit 14 years ago
Victor Stinner 6707293e75 Add consistency check to _PyUnicode_New() 14 years ago
Victor Stinner 3a50e7056e Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore 14 years ago
Antoine Pitrou 551ba20e8e Issue #13188: When called without an explicit traceback argument, 14 years ago
Antoine Pitrou 5b9f4c1539 Fix typo 14 years ago
Benjamin Peterson 2963fe0711 plug possible refleak (closes #13199) 14 years ago
Benjamin Peterson 7a6debe79c remove some duplication 14 years ago
Martin v. Löwis 1c67dd9b15 Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Victor Stinner f5cff56a1b Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 14 years ago
Victor Stinner d1a9cc29b9 dictviews_or() uses _Py_identifier 14 years ago
Martin v. Löwis bfc6d74b25 Use GetAttrId directly. Proposed by Amaury. 14 years ago
Antoine Pitrou f0b934b01a Reuse the stringlib in findchar(), and make its signature more convenient 14 years ago
Antoine Pitrou c198d0599b Add a comment explaining this heuristic. 14 years ago
Antoine Pitrou dda339e6d2 Simplify heuristic for when to use memchr 14 years ago
Victor Stinner 55c991197b Optimize unicode_subscript() for step != 1 and ascii strings 14 years ago
Victor Stinner 127226ba69 Don't use PyUnicode_MAX_CHAR_VALUE() macro in Py_MAX() 14 years ago
Victor Stinner 9e7a1bcfd6 Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr 14 years ago
Antoine Pitrou dd4e2f0153 Issue #13155: Optimize finding the optimal character width of an unicode string 14 years ago
Victor Stinner 49a0a21f37 Unicode replace() avoids calling unicode_adjust_maxchar() when it's useless 14 years ago
Antoine Pitrou 6b4883dec0 PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. 14 years ago
Victor Stinner 983b1434bd Backed out changeset 952d91a7d376 14 years ago
Antoine Pitrou e55ad2dff0 Relax condition 14 years ago
Victor Stinner d218bf14cc stringlib: Fix STRINGLIB_STR for UCS2/UCS4 14 years ago
Victor Stinner 4e10100dee Fix compiler warning in _PyUnicode_FromUCS2() 14 years ago
Victor Stinner 8cc70dcf70 Fix fastsearch for UCS2 and UCS4 14 years ago
Antoine Pitrou 950468e553 Use _PyUnicode_CONVERT_BYTES() where applicable. 14 years ago
Victor Stinner 577db2c9f0 PyUnicode_AsUnicodeCopy() now checks if PyUnicode_AsUnicode() failed 14 years ago
Victor Stinner c4f281eba3 Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead 14 years ago
Victor Stinner ed2682be2f Reuse PyUnicode_Copy() in validate_and_copy_tuple() 14 years ago
Antoine Pitrou e459a0877e Issue #13136: speed up conversion between different character widths. 14 years ago