summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix potential NULL pointer dereferencing in ast moduleChristian Heimes2013-07-241-1/+1
|\ | | | | | | CID 719690
| * Fix potential NULL pointer dereferencing in ast moduleChristian Heimes2013-07-241-1/+1
| | | | | | | | CID 719690
* | Closes #18541: merged update from 3.3.Vinay Sajip2013-07-241-57/+19
|\ \ | |/
| * Issue #18541: simplified LoggerAdapter example.Vinay Sajip2013-07-241-57/+19
| |
* | merge 3.3Benjamin Peterson2013-07-231-1/+2
|\ \ | |/
| * return NULL hereBenjamin Peterson2013-07-231-1/+2
| |
* | Add in a comment that was removed in 240adc564539 (requested by Victor Stinner)Brian Curtin2013-07-231-0/+1
| |
* | Remove duplicate entry for sdigit.Christian Heimes2013-07-231-5/+0
| | | | | | | | I fixed it before the checkin but forgot to save... :wq
* | Add modeling file for Coverity Scan.Christian Heimes2013-07-221-0/+112
| | | | | | | | The modeling file avoids false positive reports.
* | Issue #18520: Fix initstdio(), handle PySys_SetObject() failureVictor Stinner2013-07-221-2/+8
| |
* | Issue #18520: Fix _PyDict_GetItemId(), suppress _PyUnicode_FromId() errorVictor Stinner2013-07-221-1/+3
| | | | | | | | | | As PyDict_GetItem(), _PyDict_GetItemId() suppresses all errors that may occur, for historical reasons.
* | Issue #18520: Fix PyFunction_NewWithQualName() error handlingVictor Stinner2013-07-221-10/+9
| |
* | Reindent PyFunction_NewWithQualName()Victor Stinner2013-07-221-49/+49
| |
* | Issue #18520: initsite() is a little bit more verbose when import site failsVictor Stinner2013-07-221-0/+1
| |
* | Issue #18520: Fix _PySys_Init(), handle PyDict_SetItemString() errorsVictor Stinner2013-07-221-17/+21
| |
* | Issue #18520: PyErr_NoMemory() now fails with a fatal error if it is calledVictor Stinner2013-07-221-0/+6
| | | | | | | | before PyExc_MemoryError has been initialized by _PyExc_Init()
* | Issue #18520: Add a new PyStructSequence_InitType2() function, same thanVictor Stinner2013-07-2217-54/+117
| | | | | | | | | | | | | | | | 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
* | MergeBrian Curtin2013-07-222-843/+565
|\ \
| * \ Issue #17944: test_zipfile now discoverable and uses subclassing toSerhiy Storchaka2013-07-222-843/+565
| |\ \ | | |/ | | | | | | | | | generate tests for different compression types. Fixed a bug with skipping some tests due to use of exhausted iterators.
| | * Issue #17944: test_zipfile now discoverable and uses subclassing toSerhiy Storchaka2013-07-222-849/+566
| | | | | | | | | | | | | | | generate tests for different compression types. Fixed a bug with skipping some tests due to use of exhausted iterators.
* | | Fix #18530. Remove extra stat call from posixpath.ismountBrian Curtin2013-07-222-8/+17
|/ /
* | Some compilers complain about 'control reaches end of non-void function'Christian Heimes2013-07-221-0/+1
|\ \ | |/ | | | | because they don't understand that Py_FatalError() terminates the program.
| * Some compilers complain about 'control reaches end of non-void function'Christian Heimes2013-07-221-0/+1
| | | | | | | | because they don't understand that Py_FatalError() terminates the program.
* | Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0],Christian Heimes2013-07-223-7/+19
|\ \ | |/ | | | | 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-223-7/+19
| | | | | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
* | mergeChristian Heimes2013-07-220-0/+0
|\ \ | |/
| * mergeChristian Heimes2013-07-222-5/+8
| |\
* | \ Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵Christian Heimes2013-07-221-1/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | when debugging a new grammar. CID 715360
| * | Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵Christian Heimes2013-07-221-1/+4
| | | | | | | | | | | | | | | | | | | | | when debugging a new grammar. CID 715360
* | | 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().
* | | Merge with 3.3Terry Jan Reedy2013-07-222-5/+8
|\ \ \ | | |/ | |/|
| * | Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.Terry Jan Reedy2013-07-222-5/+8
| |/
* | 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.
* | merge 3.3Benjamin Peterson2013-07-211-1/+1
|\ \ | |/
| * fix spacingBenjamin Peterson2013-07-211-1/+1
| |
* | merge 3.3Benjamin Peterson2013-07-211-2/+2
|\ \ | |/
| * let's not return NULL from functions that should return intsBenjamin Peterson2013-07-211-2/+2
| |
* | Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()Christian Heimes2013-07-212-1/+3
|\ \ | |/
| * Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()Christian Heimes2013-07-212-1/+3
| |
* | 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 #18520: Fix initsigs(), handle PyOS_InitInterrupts() errorVictor Stinner2013-07-211-0/+3
| | | | | | | | PyOS_InitInterrupts() can raise error when importing the signal module
* | 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 lseek() in _Py_DisplaySourceLine().Christian Heimes2013-07-211-1/+7
|\ \ | |/ | | | | | | Also use portable SEEK_SET instead of 0. CID 1040639
| * Check return value of lseek() in _Py_DisplaySourceLine().Christian Heimes2013-07-211-1/+7
| | | | | | | | | | Also use portable SEEK_SET instead of 0. CID 1040639
* | Propagate error when PyByteArray_Resize() fails in bytearray_translate()Christian Heimes2013-07-211-1/+4
|\ \ | |/ | | | | CID 715334
| * Propagate error when PyByteArray_Resize() fails in bytearray_translate()Christian Heimes2013-07-211-1/+4
| | | | | | | | CID 715334
* | mergeChristian Heimes2013-07-200-0/+0
|\ \ | |/