| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #14783: Improve int() docstring and also str(), range(), and slice(). | Chris Jerdonek | 2012-10-07 | 4 | -9/+19 |
| | | | | | | | This commit rewrites the docstring for int() to incorporate the documentation changes made in issue #16036. It also switches the docstrings for int(), str(), range(), and slice() to use multi-line signatures. | ||||
| * | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | 2012-09-23 | 1 | -2/+26 |
| | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka. | ||||
| * | Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy ↵ | Mark Dickinson | 2012-09-20 | 1 | -1/+1 |
| | | | | | Storchaka. | ||||
| * | Silence compiler warnings on Solaris 10 via explicit (void *) casts. | Trent Nelson | 2012-09-19 | 1 | -3/+3 |
| | | | | | (Compiler: Solaris Studio 12.3) | ||||
| * | Fix out of bounds read in long_new() for empty bytes with an explicit base. ↵ | Christian Heimes | 2012-09-12 | 1 | -2/+2 |
| | | | | | int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359 | ||||
| * | Fixed memory leak in error branch of object_repr which may leak a reference ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | | to mod when type_name returns NULL. CID 715371 | ||||
| * | Fixed possible reference leak to mod when type_name() returns NULL | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | |||||
| * | PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | | resource leak. | ||||
| * | Py_TYPE() has already dereferenced self before the NULL check. Moved ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+2 |
| | | | | | Py_TYPE() after the check for self == NULL | ||||
| * | Issue #13992: The trashcan mechanism is now thread-safe. This eliminates | Antoine Pitrou | 2012-09-05 | 2 | -0/+42 |
| | | | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4. | ||||
| * | Issue #15855: added docstrings for memoryview methods and data descriptors. | Alexander Belopolsky | 2012-09-03 | 1 | -11/+43 |
| | | |||||
| * | use the stricter PyMapping_Check (closes #15801) | Benjamin Peterson | 2012-08-28 | 1 | -2/+1 |
| | | |||||
| * | Issue #15736: Fix overflow in _PySequence_BytesToCharpArray(). | Stefan Krah | 2012-08-21 | 1 | -0/+7 |
| | | |||||
| * | Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray(). | Stefan Krah | 2012-08-20 | 1 | -0/+5 |
| | | | | | Found by Coverity. | ||||
| * | Check for NULL return value in PyStructSequence_NewType(). Found by Coverity. | Stefan Krah | 2012-08-19 | 1 | -1/+3 |
| | | |||||
| * | Fix str docstring | Nick Coghlan | 2012-08-16 | 1 | -4/+8 |
| | | |||||
| * | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 1 | -5/+7 |
| | | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
| * | Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after ↵ | Antoine Pitrou | 2012-07-20 | 1 | -31/+21 |
| | | | | | | | error handling. Patch by Serhiy Storchaka. | ||||
| * | Issue #15404: Refleak in PyMethodObject repr. | Andrew Svetlov | 2012-07-20 | 1 | -1/+3 |
| | | |||||
| * | Issue #15394: Fix ref leaks in PyModule_Create. | Meador Inge | 2012-07-19 | 1 | -1/+7 |
| | | | | | Patch by Julia Lawall. | ||||
| * | Issue #15142: Fix reference leak when deallocating instances of types ↵ | Antoine Pitrou | 2012-06-23 | 1 | -0/+6 |
| | | | | | created using PyType_FromSpec(). | ||||
| * | Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** ↵ | Antoine Pitrou | 2012-05-16 | 1 | -1/+1 |
| | | | | | 32) under 64-bit Windows. | ||||
| * | Remove tab characters | Antoine Pitrou | 2012-05-14 | 1 | -8/+8 |
| | | |||||
| * | Use size_t, not ssize_t (issue #14801). | Antoine Pitrou | 2012-05-14 | 1 | -1/+1 |
| | | |||||
| * | fix possible refleak (closes #14752) | Benjamin Peterson | 2012-05-08 | 1 | -2/+4 |
| | | |||||
| * | close() doesn't take any args (closes #14717) | Benjamin Peterson | 2012-05-03 | 1 | -1/+1 |
| | | |||||
| * | fix calling the classmethod descriptor directly (closes #14699) | Benjamin Peterson | 2012-05-01 | 1 | -3/+41 |
| | | |||||
| * | don't use a slot wrapper from a different special method (closes #14658) | Benjamin Peterson | 2012-04-24 | 1 | -2/+3 |
| | | | | | | | | This also alters the fix to #11603. Specifically, setting __repr__ to object.__str__ now raises a recursion RuntimeError when str() or repr() is called instead of silently bypassing the recursion. I believe this behavior is more correct. | ||||
| * | Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of ↵ | Mark Dickinson | 2012-04-20 | 1 | -3/+1 |
| | | | | | an int subclass. | ||||
| * | SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno ↵ | Benjamin Peterson | 2012-04-18 | 1 | -2/+4 |
| | | | | | (closes #14612) | ||||
| * | merge 3.1 (#14509) | Benjamin Peterson | 2012-04-09 | 2 | -0/+4 |
| |\ | |||||
| | * | fix build without Py_DEBUG and DNDEBUG (closes #14509) | Benjamin Peterson | 2012-04-09 | 2 | -0/+4 |
| | | | |||||
| * | | adjust formatting | Benjamin Peterson | 2012-04-01 | 1 | -5/+5 |
| | | | |||||
| * | | remove extraneous condition | Benjamin Peterson | 2012-04-01 | 1 | -6/+4 |
| | | | |||||
| * | | merge heads | Benjamin Peterson | 2012-04-01 | 1 | -2/+6 |
| |\ \ | |||||
| | * | | Issue #13019: Fix potential reference leaks in bytearray.extend(). | Antoine Pitrou | 2012-04-01 | 1 | -2/+6 |
| | | | | | | | | | | | | | Patch by Suman Saha. | ||||
| * | | | be consistent with rest of function | Benjamin Peterson | 2012-04-01 | 1 | -2/+1 |
| |/ / | |||||
| * | | kill this terribly outdated comment | Benjamin Peterson | 2012-03-26 | 1 | -4/+0 |
| | | | |||||
| * | | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 3 | -0/+3 |
| | | | |||||
| * | | check to make sure the attribute is a string (#14334) | Benjamin Peterson | 2012-03-16 | 1 | -0/+7 |
| | | | |||||
| * | | allow cycles throught the __dict__ slot to be cleared (closes #1469629) | Benjamin Peterson | 2012-03-08 | 1 | -2/+7 |
| | | | | | | | | | Patch from Armin, test from me. | ||||
| * | | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵ | Antoine Pitrou | 2012-02-26 | 1 | -42/+70 |
| | | | | | | | | | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński. | ||||
| * | | merge 3.2 | Benjamin Peterson | 2012-02-21 | 2 | -0/+2 |
| |\ \ | |/ | |||||
| | * | ensure no one tries to hash things before the random seed is found | Benjamin Peterson | 2012-02-21 | 2 | -0/+2 |
| | | | |||||
| * | | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 3 | -2/+24 |
| |\ \ | |/ | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| | * | Issue #13703: add a way to randomize the hash values of basic types (str, ↵ | Georg Brandl | 2012-02-20 | 3 | -2/+24 |
| | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| * | | use Py_CLEAR | Benjamin Peterson | 2012-02-19 | 1 | -3/+1 |
| | | | |||||
| * | | Fix indentation | Antoine Pitrou | 2012-02-15 | 1 | -12/+12 |
| | | | |||||
| * | | Issue #13020: Fix a reference leak when allocating a structsequence object ↵ | Antoine Pitrou | 2012-02-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | fails. Patch by Suman Saha. | ||||
| * | | Issue #13913: normalize utf-8 codec name in UTF-8 decoder | Victor Stinner | 2012-02-14 | 1 | -1/+1 |
| | | | |||||
