Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |||||
| * | Check return value of flush_character_buffer() | Christian Heimes | 2013-07-20 | 1 | -1/+3 | |
| | | | | | | | | CID 486663 | |||||
* | | Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong ↵ | Mark Dickinson | 2013-07-20 | 1 | -0/+7 | |
|\ \ | |/ | | | | | cmath.rect(0.0,-0.0) results. | |||||
| * | Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong ↵ | Mark Dickinson | 2013-07-20 | 1 | -0/+7 | |
| | | | | | | | | cmath.rect(0.0,-0.0) results. | |||||
* | | Add missing check of PyDict_Update()'s return value in _elementtree.c | Christian Heimes | 2013-07-20 | 1 | -1/+2 | |
|\ \ | |/ | | | | | CID 719637 | |||||
| * | Add missing check of PyDict_Update()'s return value in _elementtree.c | Christian Heimes | 2013-07-20 | 1 | -1/+2 | |
| | | | | | | | | CID 719637 | |||||
* | | Add missing check of PyDict_SetItem()'s return value | Christian Heimes | 2013-07-20 | 1 | -1/+4 | |
|\ \ | |/ | | | | | CID 486659 | |||||
| * | Add missing check of PyDict_SetItem()'s return value | Christian Heimes | 2013-07-20 | 1 | -1/+4 | |
| | | | | | | | | CID 486659 | |||||
* | | Fix fishy sizeof(Py_ssize_t *). | Christian Heimes | 2013-07-20 | 1 | -1/+1 | |
| | | | | | | | | | | sizeof(Py_ssize_t *) == sizeof(Py_ssize_t) but it's not a portable assumption. CID 486403 | |||||
* | | Use strncat() instead of strcat() to silence some warnings. | Christian Heimes | 2013-07-20 | 1 | -3/+3 | |
| | | | | | | | | CID 486616, CID 486617, CID 486615 | |||||
* | | Make the GCC-4.8 compiler happy by moving declarations to the top of the ↵ | Raymond Hettinger | 2013-07-20 | 2 | -9/+13 | |
| | | | | | | | | function. | |||||
* | | (3.3->default): #18480: Add missing PyType_Ready call to _elementtree extension | Ronald Oussoren | 2013-07-19 | 1 | -5/+9 | |
|\ \ | |/ | ||||||
| * | #18480: Add missing PyType_Ready call to _elementtree extension | Ronald Oussoren | 2013-07-19 | 1 | -5/+9 | |
| | | ||||||
* | | (Merge 3.3) Fix posix_chflags(): return_value was uninitialized when | Victor Stinner | 2013-07-18 | 1 | -1/+1 | |
|\ \ | |/ | | | | | follow_symlinks=False whereas the fchmodat() function is not avaialble. | |||||
| * | Fix posix_chflags(): return_value was uninitialized when follow_symlinks=False | Victor Stinner | 2013-07-18 | 1 | -1/+1 | |
| | | | | | | | | whereas the fchmodat() function is not avaialble. | |||||
* | | Issue #18501, #18408: Fix expat handlers in pyexpat, don't call Python | Victor Stinner | 2013-07-18 | 1 | -0/+15 | |
| | | | | | | | | functions if a Python exception was raised | |||||
* | | Issue #18408: Fix _elementtree.c, don't call Python function from an expat | Victor Stinner | 2013-07-18 | 1 | -0/+28 | |
| | | | | | | | | handler if a Python exception is set | |||||
* | | Fix a compiler warning on FreeBSD | Victor Stinner | 2013-07-18 | 1 | -2/+3 | |
| | | | | | | | | Modules/python.c:40: warning: ISO C90 forbids mixed declarations and code | |||||
* | | Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failure | Victor Stinner | 2013-07-18 | 1 | -0/+2 | |
| | | | | | | | | | | Don't call PyErr_NewException() if an exception is set, or type_call() would fail with an assertion error. | |||||
* | | Issue #18408: Fix _pysqlite_fetch_one_row(), in debug mode, don't call | Victor Stinner | 2013-07-17 | 1 | -0/+5 | |
| | | | | | | | | type_call() with an exception set | |||||
* | | Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now fail | Victor Stinner | 2013-07-17 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | with an assertion error if they are called with an exception set (PyErr_Occurred()). If these functions are called with an exception set, the exception may be cleared and so the caller looses its exception. Add also assertions to PyEval_CallObjectWithKeywords() and call_function() to check if the function succeed with no exception set, or the function failed with an exception set. | |||||
* | | Issue #18488: _pysqlite_final_callback() should not clear the exception set by | Victor Stinner | 2013-07-17 | 1 | -0/+9 | |
| | | | | | | | | the last call to the step() method of a user function | |||||
* | | Issue #18408: Fix array_tolist(), handle PyList_SetItem() failure | Victor Stinner | 2013-07-17 | 1 | -6/+9 | |
| | | ||||||
* | | Issue #18408: Fix array_index(), handle getarrayitem() failure | Victor Stinner | 2013-07-17 | 1 | -7/+26 | |
| | | ||||||
* | | Issue #18408: Fix heapq.heappop(), handle PyList_SetSlice() failure | Victor Stinner | 2013-07-17 | 1 | -1/+4 | |
| | | ||||||
* | | Issue #18408: Fix time.tzset(), detect exception when calling PyInit_timezone() | Victor Stinner | 2013-07-17 | 1 | -0/+2 | |
| | |