summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #24684: socket.socket.getaddrinfo() now callsVictor Stinner2015-09-111-1/+1
| | | | | | | PyUnicode_AsEncodedString() instead of calling the encode() method of the host, to handle correctly custom unicode 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.
* Don't left shift negative values. Use an unsigned value instead to avoidGregory P. Smith2015-08-041-1/+1
| | | | undefined behavior.
* 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/+10
| | | | Initial patch by Matt Frank.
* Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. PatchVictor Stinner2015-07-291-0/+1
| | | | written by Matthieu Gautier.
* Issue #24683: Fixed a crash in _json.make_encoder() called with non-dict 1st ↵Serhiy Storchaka2015-07-261-0/+7
| | | | argument.
* Issue #24613: Calling array.fromstring() with self is no longer allowedSerhiy Storchaka2015-07-261-0/+5
| | | | to prevent the use-after-free error. Patch by John Leitch.
* possible memory leak in error case (closes #24719)Benjamin Peterson2015-07-251-1/+1
| | | | Patch by Pankaj Sharma.
* proper overflow checks for mymemreplace (closes #24708)Benjamin Peterson2015-07-251-2/+9
|
* Issue #24704: Fixed possible NULL pointer dereferencing in the _json moduleSerhiy Storchaka2015-07-241-0/+2
| | | | initialization. Patch by Pankaj Sharma.
* Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka2015-07-241-0/+4
|
* Issue #24703: Fixed resource leak on error in bsddb.verify().Serhiy Storchaka2015-07-241-2/+4
| | | | Original patch by Pankaj Sharma.
* Initialize buf.outobj in multibyte encoder (closes issue #24702).Serhiy Storchaka2015-07-241-0/+1
| | | | Patch by pankaj.s01.
* 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.
* Issue #24611: Fixed compiling the posix module on non-Windows platformsSerhiy Storchaka2015-07-121-2/+2
| | | | without mknod() or makedev() (e.g. on Unixware).
* Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-061-14/+41
|
* Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-281-8/+30
| | | | | functions of the audioop module. Fixed SystemError when the state is not a tuple. Fixed possible memory leak.
* ensure internal buffer is large enough for string after flushing (closes #24481)Benjamin Peterson2015-06-271-0/+4
|
* Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-232-1/+14
|
* Fixed indentation of Python examples in C comments.Serhiy Storchaka2015-06-101-11/+11
|
* Issue #19543: Emit deprecation warning for known non-text encodings.Serhiy Storchaka2015-05-311-12/+22
| | | | | | | | | | Backported issues #19619: encode() and decode() methods and constructors of str, unicode and bytearray classes now emit deprecation warning for known non-text encodings when Python is ran with the -3 option. Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the internal codec marking system added to emit deprecation warning for known non-text encodings at stream construction time when Python is ran with the -3 option.
* Fixed the array module in unicode disabled build (regression of issue20014).Serhiy Storchaka2015-05-311-0/+2
|
* Issue #24264: Fixed buffer overflow in the imageop module.Serhiy Storchaka2015-05-311-2/+5
|
* Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),Serhiy Storchaka2015-05-302-15/+38
| | | | | 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 segmentation fault in sqlite3.Row constructor with fakedSerhiy Storchaka2015-05-221-1/+1
| | | | cursor type.
* Issue #24091: Fixed various crashes in corner cases in cElementTree.Serhiy Storchaka2015-05-181-20/+45
|
* Issue #20014: array.array() now accepts unicode typecodes. Based on patch bySerhiy Storchaka2015-05-161-3/+15
| | | | Vajrasky Kok.
* merge 2.7.10 release branchBenjamin Peterson2015-05-151-1/+1
|\
| * deque is not varsized, so using Py_SIZE is nonsensical (closes #24162)Benjamin Peterson2015-05-151-1/+1
| |
* | 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: When calling a _sqlite.Connection, it now complains if passedLarry Hastings2015-05-081-3/+6
| | | | | | any keyword arguments. Previously it silently ignored them. Also: Remove ignored and erroneous "kwargs" parameters from three METH_VARARGS methods on _sqlite.Connection.
* Defer deleted item decref until after the deque is restored to a consistent ↵Raymond Hettinger2015-05-021-7/+7
| | | | 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
|
* Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than ↵Serhiy Storchaka2015-04-212-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 #23842: os.major(), os.minor() and os.makedev() now support ints again.Serhiy Storchaka2015-04-201-3/+28
|
* - Use PLATDIR for the platform directory everywhere (refactoring only)doko@ubuntu.com2015-04-131-1/+1
|
* Issue #21859: Corrected FileIO docstrings.Serhiy Storchaka2015-04-101-14/+17
|
* remove extra arguments in arg parsing format codes (closes #23875)Benjamin Peterson2015-04-061-2/+2
|
* Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj andSerhiy Storchaka2015-04-041-9/+16
| | | | | | always returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, long, str, unicode, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* Issue #23338: Fixed formatting ctypes error messages on Cygwin.Serhiy Storchaka2015-04-041-2/+2
| | | | Patch by Makoto Kato.
* Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-13/+222
| | | | arbitrary precision integers added in Tcl 8.5.
* Issue #23834: Fix socket.sendto(), use the C long type to store the result ofVictor Stinner2015-04-021-1/+2
| | | | sendto() instead of the C int type.
* Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-15/+34
|