4812 Commits (c72e4e6dccce99bcdcb45959767436d7e5cfda8c)

Author SHA1 Message Date
Nick Coghlan c72e4e6dcc Issue #19619: Blacklist non-text codecs in method API 12 years ago
Victor Stinner 8455723cfb Close #19568: Fix bytearray_setslice_linear(), fix handling of 12 years ago
Victor Stinner 35f2803a24 Close #19578: Fix list_ass_subscript(), handle list_resize() failure 12 years ago
Christian Heimes 985ecdcfc2 ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. 12 years ago
Serhiy Storchaka dc2fd5101a Remove dead code committed in issue #12892. 12 years ago
Nick Coghlan f1de55fb33 Also chain codec exceptions that allow weakrefs 12 years ago
Victor Stinner f91929b1d8 Issue #19646: repr(dict) now uses _PyUnicodeWriter API for better performances 12 years ago
Victor Stinner 88a9cd9b57 Issue #19513: repr(tuple) now uses _PyUnicodeWriter for better performances 12 years ago
Victor Stinner 4a58707a34 Add _PyUnicodeWriter_WriteASCIIString() function 12 years ago
Victor Stinner 4d3f109ad3 Issue #19513: Disable overallocation of the PyUnicodeWriter before the last write 12 years ago
Serhiy Storchaka 58cf607d13 Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. 12 years ago
Victor Stinner b8fb197aa0 Issue #19513: Simplify list_repr() 12 years ago
Victor Stinner 5c733473f2 Issue #19513: repr(list) now uses the PyUnicodeWriter API, it is faster than 12 years ago
Victor Stinner 6989ba0174 Issue #19581: Change the overallocation factor of _PyUnicodeWriter on Windows 12 years ago
Larry Hastings ed4a1c5703 Argument Clinic: rename "self" to "module" for module-level functions. 12 years ago
Ezio Melotti 745d54d2fa #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). 12 years ago
Nick Coghlan 4b9b936429 Don't decref exc too soon 12 years ago
Victor Stinner 46ef31953e Issue #19429, #19437: fix error handling in the OSError constructor 12 years ago
Benjamin Peterson e109ee8205 fix refleaks 12 years ago
Benjamin Peterson 079c998872 adjust style 12 years ago
Christian Heimes 6a3db25c70 Issue #17828: _PyObject_GetDictPtr() may return NULL instead of a PyObject** 12 years ago
Christian Heimes 507eabdf11 Issue #17828: va_start() must be accompanied by va_end() 12 years ago
Nick Coghlan 8b097b4ed7 Close #17828: better handling of codec errors 12 years ago
Victor Stinner 59799a8399 Don't use deprecated function PyUnicode_GET_SIZE() 12 years ago
Victor Stinner 3f36a5736b Issue #19515: Remove identifiers duplicated in the same file. 12 years ago
Victor Stinner 66b3270975 _Py_normalize_encoding(): explain how the value 6 was computed 12 years ago
Victor Stinner bd303c165b Issue #19512, #19515: remove shared identifiers, move identifiers where they 12 years ago
Victor Stinner 07e9e380f9 frameobject.c: Use an identifer instead of creating explicitly an interned 12 years ago
Victor Stinner df23e30bea Fix _Py_normalize_encoding(): ensure that buffer is big enough to store "utf-8" 12 years ago
Martin v. Löwis e75fc14813 Issue #19514: Deduplicate some _Py_IDENTIFIER declarations. 12 years ago
Ezio Melotti a5b9599538 #17080: improve error message of float/complex when the wrong type is passed. 12 years ago
Victor Stinner 53e9ec48e5 Issue #19512: Use the new _PyId_builtins identifier 12 years ago
Victor Stinner ad14ccd047 Issue #19512: add _PyUnicode_CompareWithId() function 12 years ago
Victor Stinner 3688aa9a04 Issue #19512: type_abstractmethods() and type_set_abstractmethods() now use an 12 years ago
Victor Stinner 5fd2e5ae8a Issue #19512: Add a new _PyDict_DelItemId() function, similar to 12 years ago
Victor Stinner 7a07e451a4 Issue #19512: Py_ReprEnter() and Py_ReprLeave() now use an identifier for the 12 years ago
Victor Stinner 21ea21ef6d Issue #19424: PyUnicode_CompareWithASCIIString() normalizes memcmp() result 12 years ago
Victor Stinner f0c7b2af05 Issue #16286: remove duplicated identity check from unicode_compare() 12 years ago
Victor Stinner fd9e44db37 Issue #16286: optimize PyUnicode_RichCompare() for identical strings (same 12 years ago
Victor Stinner c8bc5377ac Issue #16286: write a new subfunction bytes_compare_eq() 12 years ago
Victor Stinner e1b1592fd4 Issue #19424: Fix a compiler warning on comparing signed/unsigned size_t 12 years ago
Victor Stinner a6b9b071a3 Issue #19424: Fix a compiler warning 12 years ago
Victor Stinner 602f7cf0b9 Issue #19424: Optimize PyUnicode_CompareWithASCIIString() 12 years ago
Antoine Pitrou 84745ab464 Issue #17936: Fix O(n**2) behaviour when adding or removing many subclasses of a given type. 12 years ago
Victor Stinner 68b674c9d4 Issue #19437: Fix _PyUnicode_New() (constructor of legacy string), set all 12 years ago
Victor Stinner 0b0c867178 Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and 12 years ago
Victor Stinner fa3ba4c3bc Issue #18609: Add a fast-path for "iso8859-1" encoding 12 years ago
Victor Stinner bebba5059c fix indent 12 years ago
Victor Stinner cc64eb5b9f Issue #18408: Fix bytearrayiter.partition()/rpartition(), handle 12 years ago
Victor Stinner 986e224d5a Issue #18408: Fix error handling in PyBytes_FromObject() 12 years ago