4266 Commits (f86a5e8a93ab293d4cc00a8f2835d6d2cd3baa69)

Author SHA1 Message Date
Victor Stinner d7b7c7472b Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfield 14 years ago
Barry Warsaw 409da157d7 Eric Snow's implementation of PEP 421. 14 years ago
Kristjan Valur Jonsson 85634d7a2e Issue #14909: A number of places were using PyMem_Realloc() apis and 14 years ago
Victor Stinner 3a7d096f2f Issue #14744: Fix compilation on Windows (part 2) 14 years ago
Victor Stinner e577ab38ea Issue #14744: Fix compilation on Windows 14 years ago
Victor Stinner d3f0882dfb Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args) 14 years ago
Richard Oudkerk 3e0a1eb889 Issue #14930: Make memoryview objects weakrefable. 14 years ago
Nick Coghlan 0b43bcf528 Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue 14 years ago
Larry Hastings ca28e99202 Issue #14889: PyBytes_FromObject(bytes) now just increfs and returns. 14 years ago
Eric V. Smith 984b11f88f issue 14660: Implement PEP 420, namespace packages. 14 years ago
Antoine Pitrou a103b96a80 Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. 14 years ago
Antoine Pitrou 32bc80c523 Fix build failure. 14 years ago
Antoine Pitrou 63065d761e Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs. 14 years ago
Martin v. Löwis b05c0738d8 Silence VS 2010 signed/unsigned warnings. 14 years ago
Benjamin Peterson d5a1c44455 PEP 415: Implement suppression of __context__ display with an exception attribute 14 years ago
Antoine Pitrou a1433fed8e Remove tab characters 14 years ago
Antoine Pitrou 682d94c11a Use size_t, not ssize_t (issue #14801). 14 years ago
Antoine Pitrou 9a2349030a Issue #14417: Mutating a dict during lookup now restarts the lookup instead of raising a RuntimeError (undoes issue #14205). 14 years ago
Brian Curtin 401f9f3d32 Fix #13210. Port the Windows build from VS2008 to VS2010. 14 years ago
Antoine Pitrou 2d169b268b Make the reference counting of dictkeys objects participate in refleak hunting 14 years ago
Antoine Pitrou 758153badb Fix refleaks introduced by 83da67651687. 14 years ago
Antoine Pitrou e45c0c5cef Fix logic error introduced by 83da67651687. 14 years ago
Benjamin Peterson 1ff2e35e84 simplify by shortcutting when the kind of the needle is larger than the haystack 14 years ago
Antoine Pitrou ca5f91b888 Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy Storchaka. 14 years ago
Victor Stinner 3b1a74a9c3 Rename unicode_write_t structure and its methods to "_PyUnicodeWriter" 14 years ago
Victor Stinner ee4544c920 Issue #14744: Inline unicode_writer_write_char() and unicode_write_str() 14 years ago
Victor Stinner f59c28c930 unicode_writer_finish() checks string consistency 14 years ago
Benjamin Peterson 89a6e9a27b fix possible refleak (closes #14752) 14 years ago
Victor Stinner 106802547c Backout ab500b297900: the check for integer overflow is wrong 14 years ago
Victor Stinner 0576f9b4cf Issue #14716: Change integer overflow check in unicode_writer_prepare() 14 years ago
Victor Stinner 202fdca133 Close #14716: str.format() now uses the new "unicode writer" API instead of the 14 years ago
Mark Dickinson 99e2e5552a Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch. 14 years ago
Victor Stinner d0dba6eee8 unicode_writer: don't force inline when it is not necessary 14 years ago
Benjamin Peterson ab3da290fe close() doesn't take any args (closes #14717) 14 years ago
Benjamin Peterson b63f49f2b4 if the kind of the string to count is larger than the string to search, shortcut to 0 14 years ago
Victor Stinner a7b654be30 unicode_writer: add finish() method and assertions to write_str() method 14 years ago
Victor Stinner bf4e266397 Issue #14687: Remove redundant length attribute of unicode_write_t 14 years ago
Victor Stinner 7989157e49 Issue #14687: Cleanup unicode_writer_prepare() 14 years ago
Victor Stinner f2c76aa6cb Issue #14687: str%tuple now uses an optimistic "unicode writer" instead of an 14 years ago
Victor Stinner 1b487b467b Issue #14624, #14687: Optimize unicode_widen() 14 years ago
Victor Stinner 3a7f7977f1 Remove buggy assertion in PyUnicode_Substring() 14 years ago
Victor Stinner 684d5fd420 Fix PyUnicode_Substring() for start >= length and start > end 14 years ago
Victor Stinner b6cd014d75 Unicode: optimize creating of 1-character strings 14 years ago
Victor Stinner bff7c96834 Issue #14687: Optimize str%tuple for the "%(name)s" syntax 14 years ago
Victor Stinner e6abb488c9 unicodeobject.c: Add MAX_MAXCHAR() macro to (micro-)optimize the computation 14 years ago
Victor Stinner 438106b66e Issue #14687: Cleanup PyUnicode_Format() 14 years ago
Victor Stinner b5c3ea3af3 Issue #14687: Optimize str%args 14 years ago
Benjamin Peterson 7295c6a871 fix calling the classmethod descriptor directly (closes #14699) 14 years ago
Benjamin Peterson a6f195e48e change insertdict to not steal references (#13903) 14 years ago
Victor Stinner b80e46eca4 Issue #14687: Avoid an useless duplicated string in PyUnicode_Format() 14 years ago