3679 Commits (bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0)

Author SHA1 Message Date
Antoine Pitrou e965d97ed1 Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes. 14 years ago
Benjamin Peterson 69e9727657 ensure no one tries to hash things before the random seed is found 14 years ago
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 14 years ago
Benjamin Peterson 496c53d83e use Py_CLEAR 14 years ago
Antoine Pitrou 4b3c7846c9 Fix indentation 14 years ago
Antoine Pitrou 37784ba5c0 Issue #13020: Fix a reference leak when allocating a structsequence object fails. 14 years ago
Victor Stinner cbe01342bc Issue #13913: normalize utf-8 codec name in UTF-8 decoder 14 years ago
Benjamin Peterson efe7c9d4d7 this is only a borrowed ref in Brett's branch 14 years ago
Benjamin Peterson 2f9c71bbba bltinmod is borrowed, so it shouldn't be decrefed 14 years ago
Benjamin Peterson 90b13583bc put returns on their own lines 14 years ago
Benjamin Peterson 2652d2570e ready types returned from PyType_FromSpec 14 years ago
Benjamin Peterson e28108cbd7 adjust declaration 14 years ago
Antoine Pitrou 1334884ff2 Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name. 14 years ago
Mark Dickinson 261896b559 Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round. 14 years ago
Georg Brandl beca27a394 Fix #13834: strip() strips leading and trailing whitespace. 14 years ago
Antoine Pitrou 55f217f22d Fix refleaks in test_capi 14 years ago
Antoine Pitrou 1c7ade5284 Fix leaking a RuntimeError objects when creating sub-interpreters 14 years ago
Gregory P. Smith 63e6c3222f Consolidate the occurrances of the prime used as the multiplier when hashing 14 years ago
Benjamin Peterson 53aa1d7c57 fix possible if unlikely leak 14 years ago
Georg Brandl ac0675cc01 Small clarification in docstring of dict.update(): the positional argument is not required. 14 years ago
Victor Stinner bb2e9c477d Issue #11231: Fix bytes and bytearray docstrings 14 years ago
Antoine Pitrou 2e872082f6 Fix the fix for issue #12149: it was incorrect, although it had the side 14 years ago
Victor Stinner ab1d16b456 Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() 14 years ago
Antoine Pitrou 5418ee0b9a Issue #13333: The UTF-7 decoder now accepts lone surrogates 14 years ago
Eli Bendersky d3baae73be Issue #13161: fix doc strings of __i*__ operators 14 years ago
Petri Lehtinen ebfaabd663 Revert "Accept None as start and stop parameters for list.index() and tuple.index()" 14 years ago
Petri Lehtinen c2f0a46111 Accept None as start and stop parameters for list.index() and tuple.index() 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
Nick Coghlan de31b191e5 Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban. 14 years ago
Benjamin Peterson 9d9141f5db adjust braces a bit 14 years ago
Antoine Pitrou 551ba20e8e Issue #13188: When called without an explicit traceback argument, 14 years ago
Benjamin Peterson 2963fe0711 plug possible refleak (closes #13199) 14 years ago
Antoine Pitrou eeb7eea1f9 Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists. 14 years ago
Mark Dickinson c0420fd42a Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat. 14 years ago
Stefan Krah b77c6c65c0 Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases. 15 years ago
Victor Stinner d88d9836c5 Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character 15 years ago
Benjamin Peterson eff61f6927 make sure to initialize the method wrapper type 15 years ago
Ezio Melotti 93e7afc5d9 #9200: The str.is* methods now work with strings that contain non-BMP characters even in narrow Unicode builds. 15 years ago
Antoine Pitrou a370fcf3b2 Issue #12791: Break reference cycles early when a generator exits with an exception. 15 years ago
Benjamin Peterson 7a6b44ab62 the named of the character is actually NUL 15 years ago
Benjamin Peterson 5ad517a7d9 NUL -> NULL 15 years ago
Benjamin Peterson ae13c88d8d fix possible refleaks 15 years ago
Ezio Melotti ee8d998ecf #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. 15 years ago
Benjamin Peterson f413b80806 in narrow builds, make sure to test codepoints as identifier characters (closes #12732) 15 years ago
Benjamin Peterson 43a976e3d9 remove duplicated type ready 15 years ago
Senthil Kumaran 53516a82df Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. 15 years ago
Eric V. Smith 12ebefc9d3 Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError. 15 years ago