summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge: #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=R David Murray2013-07-115-40/+62
|\
| * #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=R David Murray2013-07-115-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 returnsSerhiy Storchaka2013-07-113-15/+35
|\ \ | |/ | | | | more bytes than requested.
| * Issue #17872: Fix a segfault in marshal.load() when input stream returnsSerhiy Storchaka2013-07-113-15/+35
| | | | | | | | more bytes than requested.
* | Issue #18085: Add missed const modifier for some entries in refcounts.dat.Serhiy Storchaka2013-07-111-76/+76
|\ \ | |/
| * Issue #18085: Add missed const modifier for some entries in refcounts.dat.Serhiy Storchaka2013-07-111-77/+77
| |
* | Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-113-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 itSerhiy Storchaka2013-07-113-0/+78
| | | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
* | Issue #18338: `python --version` now prints version string to stdout, andSerhiy Storchaka2013-07-113-3/+8
| | | | | | | | not to stderr. Patch by Berker Peksag and Michael Dickens.
* | Merge #17987: properly document support.captured_xxx.R David Murray2013-07-114-16/+47
|\ \ | |/
| * #17987: properly document support.captured_xxx.R David Murray2013-07-114-16/+47
| | | | | | | | Patch by Dmi Baranov.
* | Fix reference leaks introduced by the patch for issue #5308.Serhiy Storchaka2013-07-111-12/+11
|\ \ | |/
| * Fix reference leaks introduced by the patch for issue #5308.Serhiy Storchaka2013-07-111-12/+11
| |
* | Issue #18336. Fix a link to StreamReader's read() method.Serhiy Storchaka2013-07-111-1/+1
|\ \ | |/
| * Issue #18336. Fix a link to StreamReader's read() method.Serhiy Storchaka2013-07-111-1/+1
| |
* | Issue #18426: improve exception message. Courtesy of AmauryChristian Heimes2013-07-111-1/+5
|\ \ | |/
| * Issue #18426: improve exception message. Courtesy of AmauryChristian Heimes2013-07-111-1/+5
| |
* | Issue #18426: Fix NULL pointer dereference in C extension import whenChristian Heimes2013-07-112-0/+5
|\ \ | |/ | | | | PyModule_GetDef() returns an error.
| * Issue #18426: Fix NULL pointer dereference in C extension import whenChristian Heimes2013-07-112-0/+5
| | | | | | | | PyModule_GetDef() returns an error.
* | #18116: getpass no longer always falls back to stdin.R David Murray2013-07-103-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 Murray2013-07-101-2/+2
|\ \ | |/
| * #18424: PEP8ify the tense of the sum docstring.R David Murray2013-07-101-2/+2
| |
* | Merge: #18399: fix comment typo.R David Murray2013-07-101-1/+1
|\ \ | |/
| * #18399: fix comment typo.R David Murray2013-07-101-1/+1
| | | | | | | | Patch by Andrew Rowe.
* | Issue #18408: Fix call_exc_trace(): if the traceback is NULL, use None whenVictor Stinner2013-07-101-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 IPv6Charles-François Natali2013-07-091-1/+5
|\ \ | |/ | | | | addresses.
| * Issue #18308: don't take the scope ID into account when comparing IPv6Charles-François Natali2013-07-091-1/+5
| | | | | | | | addresses.
* | use $(LN) makefile variable instead of lnChristian Heimes2013-07-091-6/+6
|\ \ | |/
| * use $(LN) makefile variable instead of lnChristian Heimes2013-07-091-6/+6
| |
* | Add a spacing saving heuristic to deque's extend methodsRaymond Hettinger2013-07-092-2/+18
| |
* | Issue #18408: Fix select.select() to handle PyList_New() failure (MemoryError)Victor Stinner2013-07-081-3/+3
| | | | | | | | in set2list()
* | Issue #18408: Fix _PyMem_DebugRealloc()Victor Stinner2013-07-081-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 allVictor Stinner2013-07-081-3/+6
| | | | | | | | cases, so _PyUnicodeWriter_Dealloc() can be called after finish.
* | Issue #18408: Fix usage of _PyBytes_Resize()Victor Stinner2013-07-082-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 allocationVictor Stinner2013-07-081-2/+6
| | | | | | | | failure.
* | Issue #18408: Fix zlib.compressobj() to handle PyThread_allocate_lock() failureVictor Stinner2013-07-081-0/+4
| | | | | | | | (MemoryError).
* | Issue #18408: Fix ConvParam() of the ctypes module to handle paramfunc failureVictor Stinner2013-07-081-0/+2
| | | | | | | | (MemoryError).
* | Avoid spurious non-fatal install errors for OS X frameworks:Ned Deily2013-07-081-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 Stinner2013-07-081-2/+5
| | | | | | | | so _PyUnicodeWriter_Dealloc() can be called on the writer after finish.
* | fix indentationVictor Stinner2013-07-081-13/+13
| |
* | Issue #18408: Fix call_function() of ceval.c to handle PyTuple_New() failureVictor Stinner2013-07-081-4/+9
| | | | | | | | (in load_args()), ex: MemoryError.
* | Issue #18408: Fix PyType_Ready() and type.__bases__ setter to handleVictor Stinner2013-07-081-0/+2
| | | | | | | | PyWeakref_NewRef() failure (ex: MemoryError).
* | Issue #18408: Fix marshal reader for Unicode strings: handleVictor Stinner2013-07-081-0/+4
| | | | | | | | PyUnicode_DecodeUTF8() failure (ex: MemoryError).
* | Issue #18408: Fix list.pop() to handle list_resize() failure (MemoryError).Victor Stinner2013-07-081-2/+4
| |
* | Issue #18408: Fix PyDict_New() to handle correctly new_keys_object() failureVictor Stinner2013-07-081-1/+5
| | | | | | | | (MemoryError).
* | Issue #18408: PyObject_GC_NewVar() now raises SystemError exception if nitemsVictor Stinner2013-07-081-2/+9
| | | | | | | | is negative
* | gcmodule.c: strip trailing spacesVictor Stinner2013-07-081-7/+7
| |
* | #18403: merge with 3.3.Ezio Melotti2013-07-081-1/+1
|\ \ | |/
| * #18403: fix an off-by-one typo noticed by Xue Fuqiao.Ezio Melotti2013-07-081-1/+1
| |
* | Merge str.center tests from 3.3.Ezio Melotti2013-07-081-0/+9
|\ \ | |/