3518 Commits (2e9fb8d7e232f855aa9f2e35e77c5bbb270aaa3a)

Author SHA1 Message Date
Benjamin Peterson dbc52f8a0d check for string attribute names in old-style classes (closes #14334) 15 years ago
Benjamin Peterson 6e7832b04c check to make sure the attribute is a string (#14334) 15 years ago
Ezio Melotti eace3a7261 #14161: fix compile error under Windows. 15 years ago
Ezio Melotti 11f8b6872a #14161: fix the __repr__ of file objects to escape the file name. 15 years ago
Benjamin Peterson 26da920001 ensure no one tries to hash things before the random seed is found 15 years ago
Barry Warsaw 1e13eb084f - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED 15 years ago
Éric Araujo a4c81b07f8 Fix typo 15 years ago
Benjamin Peterson 32c49d9533 use Py_CLEAR 15 years ago
Antoine Pitrou fd7e4964bb Fix indentation. 15 years ago
Antoine Pitrou c66ed457ef Issue #13020: Fix a reference leak when allocating a structsequence object fails. 15 years ago
Benjamin Peterson 0f7e2df2f1 this is only a borrowed ref in Brett's branch 15 years ago
Benjamin Peterson cec6a61d30 bltinmod is borrowed, so it shouldn't be decrefed 15 years ago
Benjamin Peterson 4c79aec716 put returns on their own lines 15 years ago
Mark Dickinson 1abe6cd842 Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round. 15 years ago
Benjamin Peterson a8d458560e allow cycles throught the __dict__ slot to be cleared (closes #1469629) 15 years ago
Antoine Pitrou 6a1cd1b3b1 Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes. 15 years ago
Georg Brandl 6f14c330fa Small clarification in docstring of dict.update(): the positional argument is not required. 15 years ago
Antoine Pitrou 5b4b2da55d Fix the fix for issue #12149: it was incorrect, although it had the side 15 years ago
Victor Stinner 975134e2a2 Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() 15 years ago
Raymond Hettinger 7d1483cbad Make an error message more understandable and consistent with other error messages. 15 years ago
Antoine Pitrou 30402549de Issue #13333: The UTF-7 decoder now accepts lone surrogates 15 years ago
Eli Bendersky d784185303 Issue #13161: fix doc strings of __i*__ operators 15 years ago
Petri Lehtinen 3b9d92aefe Revert "Accept None as start and stop parameters for list.index() and tuple.index()" 15 years ago
Petri Lehtinen 819d8d447d Accept None as start and stop parameters for list.index() and tuple.index() 15 years ago
Benjamin Peterson e3b5eda8be remove unused variable 15 years ago
Petri Lehtinen a39de111a5 Fix the return value of set_discard (issue #10519) 15 years ago
Petri Lehtinen 5f4d870668 Avoid unnecessary recursive function calls (closes #10519) 15 years ago
Petri Lehtinen 8ffbab8d02 Issue #13018: Fix reference leaks in error paths in dictobject.c. 15 years ago
Benjamin Peterson a7b0976c3e PyEval_CallObject requires a tuple of args (closes #13186) 15 years ago
Nadeem Vawda 36248154a9 Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one. 15 years ago
Victor Stinner 63c22fac72 Issue #7732: Fix a crash on importing a module if a directory has the same name 15 years ago
Mark Dickinson 4ac5d2cda4 Backport issue #12973 list_repeat fix from 3.x. 15 years ago
Mark Dickinson dbbed04941 Issue #12973: Fix int.__pow__ overflow checks that invoked undefined behaviour, thereby producing incorrect results on Clang. 15 years ago
Benjamin Peterson de66ecc75f fix possible refleaks 15 years ago
Ezio Melotti 15d6b65ead #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. 15 years ago
Senthil Kumaran 5e3a19d806 merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. 15 years ago
Antoine Pitrou 304f0f952d Issue #11603: Fix a crash when __str__ is rebound as __repr__. 15 years ago
Antoine Pitrou 1616645a00 Issue #12149: Update the method cache after a type's dictionnary gets 15 years ago
Raymond Hettinger bf7a266074 Fixup repr for dict_proxy objects. 15 years ago
Mark Dickinson cb9bf1ac9c Issue #12164: Document (in docstring) that str.translate accepts None for the first argument. 15 years ago
Benjamin Peterson 80a09c70bf use '->' to indicate return values 15 years ago
Benjamin Peterson 7f5cd45f1d must clear an AttributeError if it is set 15 years ago
Benjamin Peterson fd89af59e8 handle old-style instances 15 years ago
Benjamin Peterson 8de87a6403 correctly lookup __dir__ 15 years ago
Victor Stinner e363ec1057 (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper 15 years ago
Ezio Melotti e3685f6b1b #6780: fix starts/endswith error message to mention that tuples are accepted too. 15 years ago
Jesus Cea 44e81687a2 startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 15 years ago
Mark Dickinson 874d59ee91 Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long. 16 years ago
Eli Bendersky 72de205895 Issue #11634: Remove misleading paragraph from a comment 16 years ago
Éric Araujo f079c9bfbf Fix obscure set crashers (#4420). Backport of d56b3cafb1e6, reviewed by Raymond. 16 years ago