summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Restore the data block size to 62.Raymond Hettinger2013-07-282-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.3Terry Jan Reedy2013-07-281-5/+17
|\
| * Issue #18441: Make test.support.requires('gui') skip when it should.Terry Jan Reedy2013-07-281-5/+17
| |
* | (Merge 3.3) doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tagVictor Stinner2013-07-281-0/+2
|\ \ | |/
| * doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tagVictor Stinner2013-07-281-0/+2
| |
* | merge 3.3 (#18565)Benjamin Peterson2013-07-271-1/+40
|\ \ | |/
| * add a test for issue #17669 (closes #18565)Benjamin Peterson2013-07-271-1/+40
| | | | | | | | Patch from Phil Connell.
* | Merge with 3.3Terry Jan Reedy2013-07-271-1/+1
|\ \ | |/
| * Issue #18573: Complete copy-paste from assertRaises entry to assertWarns entry.Terry Jan Reedy2013-07-271-1/+1
| |
* | Assertions key off NDEBUGRaymond Hettinger2013-07-271-1/+1
| |
* | null merge (fix already applied to default)Victor Stinner2013-07-270-0/+0
|\ \ | |/
| * Issue #15893: Remove dead codeVictor Stinner2013-07-271-5/+0
| |
* | Issue #15893: Improve error handling in main() and Py_FrozenMain()Victor Stinner2013-07-272-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, asVictor Stinner2013-07-271-18/+4
| | | | | | | | done in main()
* | Issue #18203: Replace PyMem_Malloc() with PyMem_RawMalloc() at Python ↵Victor Stinner2013-07-261-6/+6
| | | | | | | | initialization
* | (Merge 3.3) Issue #15893: frozenmain.c now handles PyMem_Malloc() failureVictor Stinner2013-07-261-2/+9
|\ \ | |/
| * Issue #15893: frozenmain.c now handles PyMem_Malloc() failureVictor Stinner2013-07-262-8/+19
| |
* | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes2013-07-263-6/+17
|\ \ | |/
| * Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes2013-07-263-6/+17
| |
* | (Merge 3.3) Parser/asdl_c.py: use Py_CLEAR()Victor Stinner2013-07-262-268/+134
|\ \ | |/
| * Parser/asdl_c.py: use Py_CLEAR()Victor Stinner2013-07-262-270/+135
| |
* | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-263-6160/+6115
|\ \ | |/ | | | | Replace 8 spaces with 4.
| * According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-263-6124/+6079
| | | | | | | | Replace 8 spaces with 4.
* | Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL.Christian Heimes2013-07-262-1/+3
|\ \ | |/ | | | | CID 486199
| * Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL.Christian Heimes2013-07-262-1/+3
| | | | | | | | CID 486199
* | Issue #18560: Fix potential NULL pointer dereference in sum()Christian Heimes2013-07-262-0/+7
|\ \ | |/
| * Issue #18560: Fix potential NULL pointer dereference in sum()Christian Heimes2013-07-262-0/+7
| |
* | Issue #18559: Fix NULL pointer dereference error in _pickle moduleChristian Heimes2013-07-262-4/+8
|\ \ | |/
| * Issue #18559: Fix NULL pointer dereference error in _pickle moduleChristian Heimes2013-07-262-4/+8
| |
* | Issue #18519: the Python authorizer callback of sqlite3 must not raise ↵Victor Stinner2013-07-261-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*() functionsChristian Heimes2013-07-261-5/+30
| |
* | Handle yet another potential failure in testcapiChristian Heimes2013-07-261-0/+2
|\ \ | |/ | | | | CID 1058280
| * Handle yet another potential failure in testcapiChristian Heimes2013-07-261-0/+2
| | | | | | | | CID 1058280
* | Check return value of PyLong_FromLong(X509_get_version()). It might be NULL ifChristian Heimes2013-07-261-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 ifChristian Heimes2013-07-261-0/+2
| | | | | | | | | | X509_get_version() grows beyond our small int cache. CID 1058279
* | remove surplus and wrong Py_DECREF() introduced in 33891989c9cfChristian Heimes2013-07-261-1/+0
|\ \ | |/
| * remove surplus and wrong Py_DECREF() introduced in 33891989c9cfChristian Heimes2013-07-261-1/+0
| |
* | Fix memory leaks and add checks for failing malloc() calls to testcapi moduleChristian Heimes2013-07-261-3/+16
|\ \ | |/ | | | | | | CID 1058288 Fix declaration-after-statement of d49f65ff4f3c
| * Fix declaration-after-statement of d49f65ff4f3cChristian Heimes2013-07-261-3/+7
| |
| * Fix memory leaks and add checks for failing malloc() calls to testcapi moduleChristian Heimes2013-07-261-0/+9
| | | | | | | | CID 1058288
* | Fix possible NULL pointer dereferences in testcapi moduleChristian Heimes2013-07-261-1/+7
|\ \ | |/ | | | | | | | | CID 1058280 CID 1058282 CID 1058284
| * Fix possible NULL pointer dereferences in testcapi moduleChristian Heimes2013-07-261-1/+7
| | | | | | | | | | | | CID 1058280 CID 1058282 CID 1058284
* | Fix possible NULL pointer dereference in PyCurses_Start_Color()Christian Heimes2013-07-261-0/+4
|\ \ | |/ | | | | CID 1058276
| * Fix possible NULL pointer dereference in PyCurses_Start_Color()Christian Heimes2013-07-261-0/+4
| | | | | | | | CID 1058276
* | merge for issue #18556Brett Cannon2013-07-252-1/+8
|\ \ | |/
| * Issue #18556: Check the return value for PyUnicode_AsWideChar() inBrett Cannon2013-07-252-1/+8
| | | | | | | | | | | | U_set() from ctypes. CID #486657
* | Close #18545: now only executes member_type if no _value_ is assigned in ↵Ethan Furman2013-07-252-4/+20
| | | | | | | | __new__.
* | #17818: aifc.getparams now returns a namedtuple.R David Murray2013-07-256-8/+55
| | | | | | | | Patch by Claudiu Popa.
* | Fix typo on MutableSequence docstring.Guido van Rossum2013-07-251-1/+1
| |
* | Merge #15130: remove repeat of abstract paragraph from socket howto body.R David Murray2013-07-251-6/+0
|\ \ | |/