Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix potential NULL pointer dereferencing in ast module | Christian Heimes | 2013-07-24 | 1 | -1/+1 |
|\ | | | | | | | CID 719690 | ||||
| * | Fix potential NULL pointer dereferencing in ast module | Christian Heimes | 2013-07-24 | 1 | -1/+1 |
| | | | | | | | | CID 719690 | ||||
* | | Closes #18541: merged update from 3.3. | Vinay Sajip | 2013-07-24 | 1 | -57/+19 |
|\ \ | |/ | |||||
| * | Issue #18541: simplified LoggerAdapter example. | Vinay Sajip | 2013-07-24 | 1 | -57/+19 |
| | | |||||
* | | merge 3.3 | Benjamin Peterson | 2013-07-23 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | return NULL here | Benjamin Peterson | 2013-07-23 | 1 | -1/+2 |
| | | |||||
* | | Add in a comment that was removed in 240adc564539 (requested by Victor Stinner) | Brian Curtin | 2013-07-23 | 1 | -0/+1 |
| | | |||||
* | | Remove duplicate entry for sdigit. | Christian Heimes | 2013-07-23 | 1 | -5/+0 |
| | | | | | | | | I fixed it before the checkin but forgot to save... :wq | ||||
* | | Add modeling file for Coverity Scan. | Christian Heimes | 2013-07-22 | 1 | -0/+112 |
| | | | | | | | | The modeling file avoids false positive reports. | ||||
* | | Issue #18520: Fix initstdio(), handle PySys_SetObject() failure | Victor Stinner | 2013-07-22 | 1 | -2/+8 |
| | | |||||
* | | Issue #18520: Fix _PyDict_GetItemId(), suppress _PyUnicode_FromId() error | Victor Stinner | 2013-07-22 | 1 | -1/+3 |
| | | | | | | | | | | As PyDict_GetItem(), _PyDict_GetItemId() suppresses all errors that may occur, for historical reasons. | ||||
* | | Issue #18520: Fix PyFunction_NewWithQualName() error handling | Victor Stinner | 2013-07-22 | 1 | -10/+9 |
| | | |||||
* | | Reindent PyFunction_NewWithQualName() | Victor Stinner | 2013-07-22 | 1 | -49/+49 |
| | | |||||
* | | Issue #18520: initsite() is a little bit more verbose when import site fails | Victor Stinner | 2013-07-22 | 1 | -0/+1 |
| | | |||||
* | | Issue #18520: Fix _PySys_Init(), handle PyDict_SetItemString() errors | Victor Stinner | 2013-07-22 | 1 | -17/+21 |
| | | |||||
* | | Issue #18520: PyErr_NoMemory() now fails with a fatal error if it is called | Victor Stinner | 2013-07-22 | 1 | -0/+6 |
| | | | | | | | | before PyExc_MemoryError has been initialized by _PyExc_Init() | ||||
* | | Issue #18520: Add a new PyStructSequence_InitType2() function, same than | Victor Stinner | 2013-07-22 | 17 | -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 | ||||
* | | Merge | Brian Curtin | 2013-07-22 | 2 | -843/+565 |
|\ \ | |||||
| * \ | Issue #17944: test_zipfile now discoverable and uses subclassing to | Serhiy Storchaka | 2013-07-22 | 2 | -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 to | Serhiy Storchaka | 2013-07-22 | 2 | -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.ismount | Brian Curtin | 2013-07-22 | 2 | -8/+17 |
|/ / | |||||
* | | Some compilers complain about 'control reaches end of non-void function' | Christian Heimes | 2013-07-22 | 1 | -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 Heimes | 2013-07-22 | 1 | -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 Heimes | 2013-07-22 | 3 | -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 Heimes | 2013-07-22 | 3 | -7/+19 |
| | | | | | | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN. | ||||
* | | merge | Christian Heimes | 2013-07-22 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | merge | Christian Heimes | 2013-07-22 | 2 | -5/+8 |
| |\ | |||||
* | \ | Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵ | Christian Heimes | 2013-07-22 | 1 | -1/+4 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | when debugging a new grammar. CID 715360 | ||||
| * | | Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵ | Christian Heimes | 2013-07-22 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | when debugging a new grammar. CID 715360 | ||||
* | | | 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(). | ||||
* | | | Merge with 3.3 | Terry Jan Reedy | 2013-07-22 | 2 | -5/+8 |
|\ \ \ | | |/ | |/| | |||||
| * | | Issue #18439: Make patchcheck work on Windows for ACKS, NEWS. | Terry Jan Reedy | 2013-07-22 | 2 | -5/+8 |
| |/ | |||||
* | | 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. | ||||
* | | merge 3.3 | Benjamin Peterson | 2013-07-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix spacing | Benjamin Peterson | 2013-07-21 | 1 | -1/+1 |
| | | |||||
* | | merge 3.3 | Benjamin Peterson | 2013-07-21 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | let's not return NULL from functions that should return ints | Benjamin Peterson | 2013-07-21 | 1 | -2/+2 |
| | | |||||
* | | Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj() | Christian Heimes | 2013-07-21 | 2 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj() | Christian Heimes | 2013-07-21 | 2 | -1/+3 |
| | | |||||
* | | 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 #18520: Fix initsigs(), handle PyOS_InitInterrupts() error | Victor Stinner | 2013-07-21 | 1 | -0/+3 |
| | | | | | | | | PyOS_InitInterrupts() can raise error when importing the signal module | ||||
* | | 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 lseek() in _Py_DisplaySourceLine(). | Christian Heimes | 2013-07-21 | 1 | -1/+7 |
|\ \ | |/ | | | | | | | Also use portable SEEK_SET instead of 0. CID 1040639 | ||||
| * | Check return value of lseek() in _Py_DisplaySourceLine(). | Christian Heimes | 2013-07-21 | 1 | -1/+7 |
| | | | | | | | | | | Also use portable SEEK_SET instead of 0. CID 1040639 | ||||
* | | Propagate error when PyByteArray_Resize() fails in bytearray_translate() | Christian Heimes | 2013-07-21 | 1 | -1/+4 |
|\ \ | |/ | | | | | CID 715334 | ||||
| * | Propagate error when PyByteArray_Resize() fails in bytearray_translate() | Christian Heimes | 2013-07-21 | 1 | -1/+4 |
| | | | | | | | | CID 715334 | ||||
* | | merge | Christian Heimes | 2013-07-20 | 0 | -0/+0 |
|\ \ | |/ |