Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge: #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?= | R David Murray | 2013-07-11 | 5 | -40/+62 |
|\ | |||||
| * | #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?= | R David Murray | 2013-07-11 | 5 | -40/+62 |
| | | | | | | | | | | | | | | | | | | | | The problem was I was only checking for decimal digits after the third '?', not for *hex* digits :(. This changeset also fixes a couple of comment typos, deletes an unused function relating to encoded word parsing, and removed an invalid 'if' test from the folding function that was revealed by the tests written to validate this issue. | ||||
* | | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 3 | -15/+35 |
|\ \ | |/ | | | | | more bytes than requested. | ||||
| * | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 3 | -15/+35 |
| | | | | | | | | more bytes than requested. | ||||
* | | Issue #18085: Add missed const modifier for some entries in refcounts.dat. | Serhiy Storchaka | 2013-07-11 | 1 | -76/+76 |
|\ \ | |/ | |||||
| * | Issue #18085: Add missed const modifier for some entries in refcounts.dat. | Serhiy Storchaka | 2013-07-11 | 1 | -77/+77 |
| | | |||||
* | | Issue #18101: Tcl.split() now process strings nested in a tuple as it | Serhiy Storchaka | 2013-07-11 | 3 | -0/+78 |
|\ \ | |/ | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline(). | ||||
| * | Issue #18101: Tcl.split() now process strings nested in a tuple as it | Serhiy Storchaka | 2013-07-11 | 3 | -0/+78 |
| | | | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline(). | ||||
* | | Issue #18338: `python --version` now prints version string to stdout, and | Serhiy Storchaka | 2013-07-11 | 3 | -3/+8 |
| | | | | | | | | not to stderr. Patch by Berker Peksag and Michael Dickens. | ||||
* | | Merge #17987: properly document support.captured_xxx. | R David Murray | 2013-07-11 | 4 | -16/+47 |
|\ \ | |/ | |||||
| * | #17987: properly document support.captured_xxx. | R David Murray | 2013-07-11 | 4 | -16/+47 |
| | | | | | | | | Patch by Dmi Baranov. | ||||
* | | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | 2013-07-11 | 1 | -12/+11 |
|\ \ | |/ | |||||
| * | Fix reference leaks introduced by the patch for issue #5308. | Serhiy Storchaka | 2013-07-11 | 1 | -12/+11 |
| | | |||||
* | | Issue #18336. Fix a link to StreamReader's read() method. | Serhiy Storchaka | 2013-07-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #18336. Fix a link to StreamReader's read() method. | Serhiy Storchaka | 2013-07-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #18426: improve exception message. Courtesy of Amaury | Christian Heimes | 2013-07-11 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #18426: improve exception message. Courtesy of Amaury | Christian Heimes | 2013-07-11 | 1 | -1/+5 |
| | | |||||
* | | Issue #18426: Fix NULL pointer dereference in C extension import when | Christian Heimes | 2013-07-11 | 2 | -0/+5 |
|\ \ | |/ | | | | | PyModule_GetDef() returns an error. | ||||
| * | Issue #18426: Fix NULL pointer dereference in C extension import when | Christian Heimes | 2013-07-11 | 2 | -0/+5 |
| | | | | | | | | PyModule_GetDef() returns an error. | ||||
* | | #18116: getpass no longer always falls back to stdin. | R David Murray | 2013-07-10 | 3 | -52/+70 |
| | | | | | | | | | | | | | | | | Also fixes a resource warning that occurred when the fallback is taken. Patch by Serhiy Storchaka. (We couldn't figure out how to write tests for this.) | ||||
* | | Merge: #18424: PEP8ify the tense of the sum docstring. | R David Murray | 2013-07-10 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #18424: PEP8ify the tense of the sum docstring. | R David Murray | 2013-07-10 | 1 | -2/+2 |
| | | |||||
* | | Merge: #18399: fix comment typo. | R David Murray | 2013-07-10 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18399: fix comment typo. | R David Murray | 2013-07-10 | 1 | -1/+1 |
| | | | | | | | | Patch by Andrew Rowe. | ||||
* | | Issue #18408: Fix call_exc_trace(): if the traceback is NULL, use None when | Victor Stinner | 2013-07-10 | 1 | -3/+8 |
| | | | | | | | | | | | | building the tuple (type, value, traceback) passed to the callback. PyTuple_Pack() does crash if an argument is NULL. | ||||
* | | Issue #18308: don't take the scope ID into account when comparing IPv6 | Charles-François Natali | 2013-07-09 | 1 | -1/+5 |
|\ \ | |/ | | | | | addresses. | ||||
| * | Issue #18308: don't take the scope ID into account when comparing IPv6 | Charles-François Natali | 2013-07-09 | 1 | -1/+5 |
| | | | | | | | | addresses. | ||||
* | | use $(LN) makefile variable instead of ln | Christian Heimes | 2013-07-09 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | use $(LN) makefile variable instead of ln | Christian Heimes | 2013-07-09 | 1 | -6/+6 |
| | | |||||
* | | Add a spacing saving heuristic to deque's extend methods | Raymond Hettinger | 2013-07-09 | 2 | -2/+18 |
| | | |||||
* | | Issue #18408: Fix select.select() to handle PyList_New() failure (MemoryError) | Victor Stinner | 2013-07-08 | 1 | -3/+3 |
| | | | | | | | | in set2list() | ||||
* | | Issue #18408: Fix _PyMem_DebugRealloc() | Victor Stinner | 2013-07-08 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | Don't mark old extra memory dead before calling realloc(). realloc() can fail and realloc() must not touch the original buffer on failure. So mark old extra memory dead only on success if the new buffer did not move (has the same address). | ||||
* | | Issue #18408: _PyUnicodeWriter_Finish() now clears its buffer attribute in all | Victor Stinner | 2013-07-08 | 1 | -3/+6 |
| | | | | | | | | cases, so _PyUnicodeWriter_Dealloc() can be called after finish. | ||||
* | | Issue #18408: Fix usage of _PyBytes_Resize() | Victor Stinner | 2013-07-08 | 2 | -31/+16 |
| | | | | | | | | | | _PyBytes_Resize(&v, new_size) sets v to NULL on error, so v cannot be used anymore. Replace "Py_DECREF(v); v = NULL;" with "Py_CLEAR(v);". | ||||
* | | Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocation | Victor Stinner | 2013-07-08 | 1 | -2/+6 |
| | | | | | | | | failure. | ||||
* | | Issue #18408: Fix zlib.compressobj() to handle PyThread_allocate_lock() failure | Victor Stinner | 2013-07-08 | 1 | -0/+4 |
| | | | | | | | | (MemoryError). | ||||
* | | Issue #18408: Fix ConvParam() of the ctypes module to handle paramfunc failure | Victor Stinner | 2013-07-08 | 1 | -0/+2 |
| | | | | | | | | (MemoryError). | ||||
* | | Avoid spurious non-fatal install errors for OS X frameworks: | Ned Deily | 2013-07-08 | 1 | -1/+1 |
| | | | | | | | | | | for a framework install, the python shared library is installed in the frameworkinstallstructure target, not in altbininstall. | ||||
* | | Issue #18408: Fix _PyUnicodeWriter_Finish(): clear writer->buffer, | Victor Stinner | 2013-07-08 | 1 | -2/+5 |
| | | | | | | | | so _PyUnicodeWriter_Dealloc() can be called on the writer after finish. | ||||
* | | fix indentation | Victor Stinner | 2013-07-08 | 1 | -13/+13 |
| | | |||||
* | | Issue #18408: Fix call_function() of ceval.c to handle PyTuple_New() failure | Victor Stinner | 2013-07-08 | 1 | -4/+9 |
| | | | | | | | | (in load_args()), ex: MemoryError. | ||||
* | | Issue #18408: Fix PyType_Ready() and type.__bases__ setter to handle | Victor Stinner | 2013-07-08 | 1 | -0/+2 |
| | | | | | | | | PyWeakref_NewRef() failure (ex: MemoryError). | ||||
* | | Issue #18408: Fix marshal reader for Unicode strings: handle | Victor Stinner | 2013-07-08 | 1 | -0/+4 |
| | | | | | | | | PyUnicode_DecodeUTF8() failure (ex: MemoryError). | ||||
* | | Issue #18408: Fix list.pop() to handle list_resize() failure (MemoryError). | Victor Stinner | 2013-07-08 | 1 | -2/+4 |
| | | |||||
* | | Issue #18408: Fix PyDict_New() to handle correctly new_keys_object() failure | Victor Stinner | 2013-07-08 | 1 | -1/+5 |
| | | | | | | | | (MemoryError). | ||||
* | | Issue #18408: PyObject_GC_NewVar() now raises SystemError exception if nitems | Victor Stinner | 2013-07-08 | 1 | -2/+9 |
| | | | | | | | | is negative | ||||
* | | gcmodule.c: strip trailing spaces | Victor Stinner | 2013-07-08 | 1 | -7/+7 |
| | | |||||
* | | #18403: merge with 3.3. | Ezio Melotti | 2013-07-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18403: fix an off-by-one typo noticed by Xue Fuqiao. | Ezio Melotti | 2013-07-08 | 1 | -1/+1 |
| | | |||||
* | | Merge str.center tests from 3.3. | Ezio Melotti | 2013-07-08 | 1 | -0/+9 |
|\ \ | |/ |