Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore the data block size to 62. | Raymond Hettinger | 2013-07-28 | 2 | -4/+7 |
| | | | | | | | | | | | | The former block size traded away good fit within cache lines in order to gain faster division in deque_item(). However, compilers are getting smarter and can now replace the slow division operation with a fast integer multiply and right shift. Accordingly, it makes sense to go back to a size that lets blocks neatly fill entire cache-lines. GCC-4.8 and CLANG 4.0 both compute "x // 62" with something roughly equivalent to "x * 9520900167075897609 >> 69". | ||||
* | Merge with 3.3 | Terry Jan Reedy | 2013-07-28 | 1 | -5/+17 |
|\ | |||||
| * | Issue #18441: Make test.support.requires('gui') skip when it should. | Terry Jan Reedy | 2013-07-28 | 1 | -5/+17 |
| | | |||||
* | | (Merge 3.3) doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag | Victor Stinner | 2013-07-28 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag | Victor Stinner | 2013-07-28 | 1 | -0/+2 |
| | | |||||
* | | merge 3.3 (#18565) | Benjamin Peterson | 2013-07-27 | 1 | -1/+40 |
|\ \ | |/ | |||||
| * | add a test for issue #17669 (closes #18565) | Benjamin Peterson | 2013-07-27 | 1 | -1/+40 |
| | | | | | | | | Patch from Phil Connell. | ||||
* | | Merge with 3.3 | Terry Jan Reedy | 2013-07-27 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry. | Terry Jan Reedy | 2013-07-27 | 1 | -1/+1 |
| | | |||||
* | | Assertions key off NDEBUG | Raymond Hettinger | 2013-07-27 | 1 | -1/+1 |
| | | |||||
* | | null merge (fix already applied to default) | Victor Stinner | 2013-07-27 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #15893: Remove dead code | Victor Stinner | 2013-07-27 | 1 | -5/+0 |
| | | |||||
* | | Issue #15893: Improve error handling in main() and Py_FrozenMain() | Victor Stinner | 2013-07-27 | 2 | -16/+28 |
| | | | | | | | | | | | | * handle _PyMem_RawStrdup() failure * Py_FrozenMain() releases memory on error * Py_FrozenMain() duplicates the old locale, as done in main() | ||||
* | | Py_FrozenMain() now uses _Py_char2wchar() to decode command line arguments, as | Victor Stinner | 2013-07-27 | 1 | -18/+4 |
| | | | | | | | | done in main() | ||||
* | | Issue #18203: Replace PyMem_Malloc() with PyMem_RawMalloc() at Python ↵ | Victor Stinner | 2013-07-26 | 1 | -6/+6 |
| | | | | | | | | initialization | ||||
* | | (Merge 3.3) Issue #15893: frozenmain.c now handles PyMem_Malloc() failure | Victor Stinner | 2013-07-26 | 1 | -2/+9 |
|\ \ | |/ | |||||
| * | Issue #15893: frozenmain.c now handles PyMem_Malloc() failure | Victor Stinner | 2013-07-26 | 2 | -8/+19 |
| | | |||||
* | | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). | Christian Heimes | 2013-07-26 | 3 | -6/+17 |
|\ \ | |/ | |||||
| * | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). | Christian Heimes | 2013-07-26 | 3 | -6/+17 |
| | | |||||
* | | (Merge 3.3) Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-26 | 2 | -268/+134 |
|\ \ | |/ | |||||
| * | Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-26 | 2 | -270/+135 |
| | | |||||
* | | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 3 | -6160/+6115 |
|\ \ | |/ | | | | | Replace 8 spaces with 4. | ||||
| * | According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 3 | -6124/+6079 |
| | | | | | | | | Replace 8 spaces with 4. | ||||
* | | Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL. | Christian Heimes | 2013-07-26 | 2 | -1/+3 |
|\ \ | |/ | | | | | CID 486199 | ||||
| * | Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL. | Christian Heimes | 2013-07-26 | 2 | -1/+3 |
| | | | | | | | | CID 486199 | ||||
* | | Issue #18560: Fix potential NULL pointer dereference in sum() | Christian Heimes | 2013-07-26 | 2 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue #18560: Fix potential NULL pointer dereference in sum() | Christian Heimes | 2013-07-26 | 2 | -0/+7 |
| | | |||||
* | | Issue #18559: Fix NULL pointer dereference error in _pickle module | Christian Heimes | 2013-07-26 | 2 | -4/+8 |
|\ \ | |/ | |||||
| * | Issue #18559: Fix NULL pointer dereference error in _pickle module | Christian Heimes | 2013-07-26 | 2 | -4/+8 |
| | | |||||
* | | Issue #18519: the Python authorizer callback of sqlite3 must not raise ↵ | Victor Stinner | 2013-07-26 | 1 | -21/+20 |
| | | | | | | | | | | | | | | Python exceptions The exception is printed if sqlite3.enable_callback_tracebacks(True) has been called, otherwise the exception is cleared. | ||||
* | | Coverity: model PyLong_From*() functions | Christian Heimes | 2013-07-26 | 1 | -5/+30 |
| | | |||||
* | | Handle yet another potential failure in testcapi | Christian Heimes | 2013-07-26 | 1 | -0/+2 |
|\ \ | |/ | | | | | CID 1058280 | ||||
| * | Handle yet another potential failure in testcapi | Christian Heimes | 2013-07-26 | 1 | -0/+2 |
| | | | | | | | | CID 1058280 | ||||
* | | Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if | Christian Heimes | 2013-07-26 | 1 | -0/+2 |
|\ \ | |/ | | | | | | | X509_get_version() grows beyond our small int cache. CID 1058279 | ||||
| * | Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if | Christian Heimes | 2013-07-26 | 1 | -0/+2 |
| | | | | | | | | | | X509_get_version() grows beyond our small int cache. CID 1058279 | ||||
* | | remove surplus and wrong Py_DECREF() introduced in 33891989c9cf | Christian Heimes | 2013-07-26 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | remove surplus and wrong Py_DECREF() introduced in 33891989c9cf | Christian Heimes | 2013-07-26 | 1 | -1/+0 |
| | | |||||
* | | Fix memory leaks and add checks for failing malloc() calls to testcapi module | Christian Heimes | 2013-07-26 | 1 | -3/+16 |
|\ \ | |/ | | | | | | | CID 1058288 Fix declaration-after-statement of d49f65ff4f3c | ||||
| * | Fix declaration-after-statement of d49f65ff4f3c | Christian Heimes | 2013-07-26 | 1 | -3/+7 |
| | | |||||
| * | Fix memory leaks and add checks for failing malloc() calls to testcapi module | Christian Heimes | 2013-07-26 | 1 | -0/+9 |
| | | | | | | | | CID 1058288 | ||||
* | | Fix possible NULL pointer dereferences in testcapi module | Christian Heimes | 2013-07-26 | 1 | -1/+7 |
|\ \ | |/ | | | | | | | | | CID 1058280 CID 1058282 CID 1058284 | ||||
| * | Fix possible NULL pointer dereferences in testcapi module | Christian Heimes | 2013-07-26 | 1 | -1/+7 |
| | | | | | | | | | | | | CID 1058280 CID 1058282 CID 1058284 | ||||
* | | Fix possible NULL pointer dereference in PyCurses_Start_Color() | Christian Heimes | 2013-07-26 | 1 | -0/+4 |
|\ \ | |/ | | | | | CID 1058276 | ||||
| * | Fix possible NULL pointer dereference in PyCurses_Start_Color() | Christian Heimes | 2013-07-26 | 1 | -0/+4 |
| | | | | | | | | CID 1058276 | ||||
* | | merge for issue #18556 | Brett Cannon | 2013-07-25 | 2 | -1/+8 |
|\ \ | |/ | |||||
| * | Issue #18556: Check the return value for PyUnicode_AsWideChar() in | Brett Cannon | 2013-07-25 | 2 | -1/+8 |
| | | | | | | | | | | | | U_set() from ctypes. CID #486657 | ||||
* | | Close #18545: now only executes member_type if no _value_ is assigned in ↵ | Ethan Furman | 2013-07-25 | 2 | -4/+20 |
| | | | | | | | | __new__. | ||||
* | | #17818: aifc.getparams now returns a namedtuple. | R David Murray | 2013-07-25 | 6 | -8/+55 |
| | | | | | | | | Patch by Claudiu Popa. | ||||
* | | Fix typo on MutableSequence docstring. | Guido van Rossum | 2013-07-25 | 1 | -1/+1 |
| | | |||||
* | | Merge #15130: remove repeat of abstract paragraph from socket howto body. | R David Murray | 2013-07-25 | 1 | -6/+0 |
|\ \ | |/ |