summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25021: Merge from 3.3 to 3.4Kristján Valur Jónsson2015-09-121-2/+10
|\
| * Issue #25021: Correctly make sure that product.__setstate__ does not accessKristján Valur Jónsson2015-09-121-2/+10
| | | | | | | | invalid memory.
* | Issue #24684: socket.socket.getaddrinfo() now callsVictor Stinner2015-09-111-3/+1
| | | | | | | | | | | | | | PyUnicode_AsEncodedString() instead of calling the encode() method of the host, to handle correctly custom string with an encode() method which doesn't return a byte string. The encoder of the IDNA codec is now called directly instead of calling the encode() method of the string.
* | Issue #25030: Do not document seek() as if it accepts keyword argumentsMartin Panter2015-09-111-1/+1
| | | | | | | | Patch from Shiyao Ma.
* | os.sendfile(headers=None, trailers=None) arguments are not actually acceptedMartin Panter2015-09-091-3/+3
| | | | | | | | Needs to be tested on a BSD.
* | Issue #23738: Document and test actual keyword parameter namesMartin Panter2015-09-091-8/+9
| | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed.
* | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-071-6/+7
| | | | | | | | expat parser.
* | Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-071-1/+6
| | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.
* | Issue #24917: time_strftime() buffer over-read.Steve Dower2015-09-071-0/+2
| |
* | Backed out changeset: a29b49d57769Steve Dower2015-09-061-6/+0
| |
* | Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.Steve Dower2015-09-061-0/+6
| |
* | Don't use defined() in C preprocessor macrosVictor Stinner2015-09-031-10/+6
| | | | | | | | | | | | | | The ICC compiler doesn't seem to support defined() in macro expansion. Example of warning: warning #3199: "defined" is always false in a macro expansion in Microsoft mode
* | include fcntl.h on all *nix platforms (closes #24217)Benjamin Peterson2015-08-021-2/+2
| | | | | | | | Patch by Jeffrey Armstrong.
* | Issue #23652: Make the select module compile against LSB headers.Zachary Ware2015-08-021-0/+11
| | | | | | | | Patch by Matt Frank.
* | Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. PatchVictor Stinner2015-07-291-0/+1
| | | | | | | | written by Matthieu Gautier.
* | Issue #24735: Fix invalid memory access in combinations_with_replacement()Raymond Hettinger2015-07-281-5/+7
| |
* | Issue #24683: Fixed crashes in _json functions called with arguments ofSerhiy Storchaka2015-07-261-2/+10
| | | | | | | | inappropriate type.
* | Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka2015-07-241-0/+4
| |
* | Issue #19663: Improve error message for defaultdict.Raymond Hettinger2015-07-201-1/+1
| |
* | improve style of the convert macro (#24655)Benjamin Peterson2015-07-181-7/+7
| | | | | | | | Patch by Brian Cain.
* | Closes #23247: Fix a crash in the StreamWriter.reset() of CJK codecsVictor Stinner2015-07-161-0/+3
| |
* | Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-062-14/+41
| |
* | fix use after free (closes #24552)Benjamin Peterson2015-07-021-1/+1
| |
* | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-291-14/+21
| | | | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter.
* | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-281-13/+26
| | | | | | | | functions of the audioop module.
* | merge 3.3Benjamin Peterson2015-06-271-16/+10
|\ \ | |/
| * use safe allocation and reallocation macrosBenjamin Peterson2015-06-271-16/+10
| |
* | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-232-1/+15
| |
* | Fixed indentation of Python examples in C comments.Serhiy Storchaka2015-06-101-11/+11
| |
* | Issue #23659: Document **fmtparams in csv.register_dialect docstring.Berker Peksag2015-06-051-1/+1
| | | | | | | | Initial patch by Brandon Milam.
* | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),Serhiy Storchaka2015-05-303-15/+31
| | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly.
* | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.Serhiy Storchaka2015-05-291-1/+1
| | | | | | | | Original patch by David Moore.
* | Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka2015-05-221-1/+1
| | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
* | Issue #24091: Fixed various crashes in corner cases in C implementation ofSerhiy Storchaka2015-05-181-47/+97
| | | | | | | | ElementTree.
* | Issue #23796: peak and read1 methods of BufferedReader now raise ValueErrorBerker Peksag2015-05-121-0/+5
| | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder.
* | Defend against a mutation during comparisonRaymond Hettinger2015-05-121-0/+5
| |
* | ensure .keywords is always a dictBenjamin Peterson2015-05-091-9/+5
| |
* | fix libffi compilation on FreeBSD (#23042)Benjamin Peterson2015-05-091-18/+30
| | | | | | | | Patch from Marc-Andre Lemburg.
* | Issue #20274: Remove ignored and erroneous "kwargs" parameters from threeLarry Hastings2015-05-081-3/+3
| | | | | | | | METH_VARARGS methods on _sqlite.Connection.
* | merge 3.3 (#24094)Benjamin Peterson2015-05-031-28/+3
|\ \ | |/
| * just sort the items tuple directly (closes #24094)Benjamin Peterson2015-05-031-27/+3
| |
* | Defer deleted item decref until after the deque is restored to a consistent ↵Raymond Hettinger2015-05-021-6/+6
| | | | | | | | state.
* | Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq.Raymond Hettinger2015-05-021-50/+21
| |
* | remove extern definition, since it's in a header file (closes #24058)Benjamin Peterson2015-04-261-2/+0
| |
* | Fix computation of max_fd on OpenBSD. Issue #23852.Gregory P. Smith2015-04-261-0/+10
| |
* | Issue #9246: On POSIX, os.getcwd() now supports paths longer than 1025 bytesVictor Stinner2015-04-241-7/+27
| | | | | | | | Patch written by William Orr.
* | Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka2015-04-222-10/+19
| | | | | | | | | | | | 8.5.8 (tclTomMath.h was broken) and non-final Tcl 8.6.
* | Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.Serhiy Storchaka2015-04-201-1/+1
| |
* | Issue #23908: os functions now reject paths with embedded null characterSerhiy Storchaka2015-04-202-7/+11
| | | | | | | | on Windows instead of silently truncate them.
* | Issue #23728: binascii.crc_hqx() could return an integer outside of the rangeSerhiy Storchaka2015-04-202-15/+15
| | | | | | | | 0-0xffff for empty data.