Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | yet another WITH_THREADS typo | Christian Heimes | 2013-07-31 | 1 | -1/+1 |
| | |||||
* | Fix _sha3 module to actually release the GIL around its update function. | Christian Heimes | 2013-07-31 | 1 | -1/+1 |
| | | | | gcov is great. | ||||
* | Test Py_IncRef() and Py_DecRef() C functions | Christian Heimes | 2013-07-31 | 1 | -0/+11 |
| | |||||
* | Fix use of uninitialized scalar variable, see 3f994367a979 | Christian Heimes | 2013-07-30 | 1 | -1/+3 |
| | | | | CID 1058763 | ||||
* | Issue #18112: PEP 442 implementation (safe object finalization). | Antoine Pitrou | 2013-07-30 | 6 | -113/+350 |
| | |||||
* | Issue #18599: Fix name attribute of _sha1.sha1() object. It now returns | Christian Heimes | 2013-07-30 | 1 | -1/+1 |
|\ | | | | | | | | | 'SHA1' instead of 'SHA'. Add more tests for hashlib and hash object attributes | ||||
| * | Issue #18599: Fix name attribute of _sha1.sha1() object. It now returns | Christian Heimes | 2013-07-30 | 1 | -1/+1 |
| | | | | | | | | 'SHA1' instead of 'SHA'. | ||||
| * | Issue #15893: frozenmain.c now handles PyMem_Malloc() failure | Victor Stinner | 2013-07-26 | 1 | -6/+10 |
| | | |||||
* | | Restore the data block size to 62. | Raymond Hettinger | 2013-07-28 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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". | ||||
* | | Assertions key off NDEBUG | Raymond Hettinger | 2013-07-27 | 1 | -1/+1 |
| | | |||||
* | | Issue #15893: Improve error handling in main() and Py_FrozenMain() | Victor Stinner | 2013-07-27 | 1 | -0/+5 |
| | | | | | | | | | | | | * handle _PyMem_RawStrdup() failure * Py_FrozenMain() releases memory on error * Py_FrozenMain() duplicates the old locale, as done in main() | ||||
* | | Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL. | Christian Heimes | 2013-07-26 | 1 | -1/+1 |
|\ \ | |/ | | | | | CID 486199 | ||||
| * | Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL. | Christian Heimes | 2013-07-26 | 1 | -1/+1 |
| | | | | | | | | CID 486199 | ||||
* | | Issue #18559: Fix NULL pointer dereference error in _pickle module | Christian Heimes | 2013-07-26 | 1 | -4/+6 |
|\ \ | |/ | |||||
| * | Issue #18559: Fix NULL pointer dereference error in _pickle module | Christian Heimes | 2013-07-26 | 1 | -4/+6 |
| | | |||||
* | | 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. | ||||
* | | 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 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #18556: Check the return value for PyUnicode_AsWideChar() in | Brett Cannon | 2013-07-25 | 1 | -1/+5 |
| | | | | | | | | | | | | U_set() from ctypes. CID #486657 | ||||
* | | Issue #18549: Eliminate dead code in socket_ntohl(). | Christian Heimes | 2013-07-25 | 1 | -2/+0 |
|\ \ | |/ | | | | | CID 982369 | ||||
| * | Issue #18549: Eliminate dead code in socket_ntohl(). | Christian Heimes | 2013-07-25 | 1 | -2/+0 |
| | | | | | | | | CID 982369 | ||||
* | | #16937: merge with 3.3. | Ezio Melotti | 2013-07-25 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | #16937: document that stdin is always buffered, even when -u is used. Patch ↵ | Ezio Melotti | 2013-07-25 | 1 | -1/+2 |
| | | | | | | | | by Elena Oat. | ||||
* | | Issue #18520: Add a new PyStructSequence_InitType2() function, same than | Victor Stinner | 2013-07-22 | 8 | -28/+51 |
| | | | | | | | | | | | | | | | | PyStructSequence_InitType() except that it has a return value (0 on success, -1 on error). * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure * Fix also some calls to PyDict_SetItemString(): handle error | ||||
* | | Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0], | Christian Heimes | 2013-07-22 | 1 | -4/+12 |
|\ \ | |/ | | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN. | ||||
| * | Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0], | Christian Heimes | 2013-07-22 | 1 | -4/+12 |
| | | | | | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN. | ||||
* | | Issue #18488: Fix _pysqlite_final_callback() | Victor Stinner | 2013-07-22 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | Restore behaviour of Python 3.3: print the finalizer() error if sqlite3.enable_callback_tracebacks() has been called, clear the error otherwise. But keep (save/restore) also the AttributeError raised in _pysqlite_step_callback(). | ||||
* | | Now all error paths of _freeze_importlib use 'goto error' and the error ↵ | Christian Heimes | 2013-07-21 | 1 | -19/+18 |
|\ \ | |/ | | | | | label cleans up all used resources. | ||||
| * | Now all error paths of _freeze_importlib use 'goto error' and the error ↵ | Christian Heimes | 2013-07-21 | 1 | -19/+18 |
| | | | | | | | | label cleans up all used resources. | ||||
* | | Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj() | Christian Heimes | 2013-07-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj() | Christian Heimes | 2013-07-21 | 1 | -1/+1 |
| | | |||||
* | | Fix reference and memory leaks in _freeze_importlib | Christian Heimes | 2013-07-21 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Fix reference and memory leaks in _freeze_importlib | Christian Heimes | 2013-07-21 | 1 | -0/+3 |
| | | |||||
* | | Issue #18519, #18408: Fix sqlite authorizer callback | Victor Stinner | 2013-07-21 | 1 | -15/+23 |
| | | | | | | | | | | If a previous call to the authorizer callback failed and raised an exception, don't call the Python authorizer callback, but just return SQLITE_DENY. | ||||
* | | Minor code simplification by eliminating an unnecessary temporary variable. | Raymond Hettinger | 2013-07-21 | 1 | -12/+6 |
| | | |||||
* | | Check return value of PyEval_GetGlobals() for NULL | Christian Heimes | 2013-07-20 | 1 | -2/+7 |
|\ \ | |/ | | | | | CID 486814 | ||||
| * | Check return value of PyEval_GetGlobals() for NULL | Christian Heimes | 2013-07-20 | 1 | -2/+7 |
| | | | | | | | | CID 486814 | ||||
* | | Check return value of flush_character_buffer() | Christian Heimes | 2013-07-20 | 1 | -1/+3 |
|\ \ | |/ | | | | | CID 486663 |