summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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-251-1/+5
|\ \ | |/
| * Issue #18556: Check the return value for PyUnicode_AsWideChar() inBrett Cannon2013-07-251-1/+5
| | | | | | | | | | | | U_set() from ctypes. CID #486657
* | Issue #18549: Eliminate dead code in socket_ntohl().Christian Heimes2013-07-251-2/+0
|\ \ | |/ | | | | CID 982369
| * Issue #18549: Eliminate dead code in socket_ntohl().Christian Heimes2013-07-251-2/+0
| | | | | | | | CID 982369
* | #16937: merge with 3.3.Ezio Melotti2013-07-251-1/+2
|\ \ | |/
| * #16937: document that stdin is always buffered, even when -u is used. Patch ↵Ezio Melotti2013-07-251-1/+2
| | | | | | | | by Elena Oat.
* | Issue #18520: Add a new PyStructSequence_InitType2() function, same thanVictor Stinner2013-07-228-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 Heimes2013-07-221-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 Heimes2013-07-221-4/+12
| | | | | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
* | Issue #18488: Fix _pysqlite_final_callback()Victor Stinner2013-07-221-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 Heimes2013-07-211-19/+18
|\ \ | |/ | | | | label cleans up all used resources.
| * Now all error paths of _freeze_importlib use 'goto error' and the error ↵Christian Heimes2013-07-211-19/+18
| | | | | | | | label cleans up all used resources.
* | Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()Christian Heimes2013-07-211-1/+1
|\ \ | |/
| * Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()Christian Heimes2013-07-211-1/+1
| |
* | Fix reference and memory leaks in _freeze_importlibChristian Heimes2013-07-211-0/+3
|\ \ | |/
| * Fix reference and memory leaks in _freeze_importlibChristian Heimes2013-07-211-0/+3
| |
* | Issue #18519, #18408: Fix sqlite authorizer callbackVictor Stinner2013-07-211-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 Hettinger2013-07-211-12/+6
| |
* | Check return value of PyEval_GetGlobals() for NULLChristian Heimes2013-07-201-2/+7
|\ \ | |/ | | | | CID 486814
| * Check return value of PyEval_GetGlobals() for NULLChristian Heimes2013-07-201-2/+7
| | | | | | | | CID 486814
* | Check return value of flush_character_buffer()Christian Heimes2013-07-201-1/+3
|\ \ | |/ | | | | CID 486663
| * Check return value of flush_character_buffer()Christian Heimes2013-07-201-1/+3
| | | | | | | | CID 486663
* | Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong ↵Mark Dickinson2013-07-201-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 Dickinson2013-07-201-0/+7
| | | | | | | | cmath.rect(0.0,-0.0) results.
* | Add missing check of PyDict_Update()'s return value in _elementtree.cChristian Heimes2013-07-201-1/+2
|\ \ | |/ | | | | CID 719637
| * Add missing check of PyDict_Update()'s return value in _elementtree.cChristian Heimes2013-07-201-1/+2
| | | | | | | | CID 719637
* | Add missing check of PyDict_SetItem()'s return valueChristian Heimes2013-07-201-1/+4
|\ \ | |/ | | | | CID 486659
| * Add missing check of PyDict_SetItem()'s return valueChristian Heimes2013-07-201-1/+4
| | | | | | | | CID 486659
* | Fix fishy sizeof(Py_ssize_t *).Christian Heimes2013-07-201-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 Heimes2013-07-201-3/+3
| | | | | | | | CID 486616, CID 486617, CID 486615
* | Make the GCC-4.8 compiler happy by moving declarations to the top of the ↵Raymond Hettinger2013-07-202-9/+13
| | | | | | | | function.
* | (3.3->default): #18480: Add missing PyType_Ready call to _elementtree extensionRonald Oussoren2013-07-191-5/+9
|\ \ | |/
| * #18480: Add missing PyType_Ready call to _elementtree extensionRonald Oussoren2013-07-191-5/+9
| |
* | (Merge 3.3) Fix posix_chflags(): return_value was uninitialized whenVictor Stinner2013-07-181-1/+1
|\ \ | |/ | | | | follow_symlinks=False whereas the fchmodat() function is not avaialble.
| * Fix posix_chflags(): return_value was uninitialized when follow_symlinks=FalseVictor Stinner2013-07-181-1/+1
| | | | | | | | whereas the fchmodat() function is not avaialble.
* | Issue #18501, #18408: Fix expat handlers in pyexpat, don't call PythonVictor Stinner2013-07-181-0/+15
| | | | | | | | functions if a Python exception was raised
* | Issue #18408: Fix _elementtree.c, don't call Python function from an expatVictor Stinner2013-07-181-0/+28
| | | | | | | | handler if a Python exception is set
* | Fix a compiler warning on FreeBSDVictor Stinner2013-07-181-2/+3
| | | | | | | | Modules/python.c:40: warning: ISO C90 forbids mixed declarations and code
* | Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failureVictor Stinner2013-07-181-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 callVictor Stinner2013-07-171-0/+5
| | | | | | | | type_call() with an exception set
* | Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now failVictor Stinner2013-07-171-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 byVictor Stinner2013-07-171-0/+9
| | | | | | | | the last call to the step() method of a user function
* | Issue #18408: Fix array_tolist(), handle PyList_SetItem() failureVictor Stinner2013-07-171-6/+9
| |
* | Issue #18408: Fix array_index(), handle getarrayitem() failureVictor Stinner2013-07-171-7/+26
| |
* | Issue #18408: Fix heapq.heappop(), handle PyList_SetSlice() failureVictor Stinner2013-07-171-1/+4
| |
* | Issue #18408: Fix time.tzset(), detect exception when calling PyInit_timezone()Victor Stinner2013-07-171-0/+2
| |