Commit Graph

6024 Commits

Author SHA1 Message Date
Serhiy Storchaka
b70091a8d5 Issue #20014: array.array() now accepts unicode typecodes. Based on patch by
Vajrasky Kok.
2015-05-16 17:11:41 +03:00
Benjamin Peterson
f465e0f929 merge 2.7.10 release branch 2015-05-15 12:19:41 -04:00
Benjamin Peterson
5863a39603 deque is not varsized, so using Py_SIZE is nonsensical (closes #24162) 2015-05-15 12:19:18 -04:00
Raymond Hettinger
3aee092ecb Defend against a mutation during comparison 2015-05-11 20:00:25 -07:00
Benjamin Peterson
72c0141f03 ensure .keywords is always a dict 2015-05-09 00:23:41 -04:00
Benjamin Peterson
36691efe7b fix libffi compilation on FreeBSD (#23042)
Patch from Marc-Andre Lemburg.
2015-05-08 21:31:36 -04:00
Larry Hastings
101b054c32 Issue #20274: When calling a _sqlite.Connection, it now complains if passed
any keyword arguments.  Previously it silently ignored them.  Also: Remove
ignored and erroneous "kwargs" parameters from three METH_VARARGS methods
on _sqlite.Connection.
2015-05-08 09:56:29 -07:00
Raymond Hettinger
79f2c5b8e0 Defer deleted item decref until after the deque is restored to a consistent state. 2015-05-02 10:53:27 -07:00
Raymond Hettinger
89543dd992 Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq. 2015-05-02 10:26:57 -07:00
Benjamin Peterson
3a34a72e78 remove extern definition, since it's in a header file (closes #24058) 2015-04-26 15:55:06 -04:00
Serhiy Storchaka
656ffdb4de Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8
(tclTomMath.h was broken) and non-final Tcl 8.6.
2015-04-21 21:17:33 +03:00
Serhiy Storchaka
02d0298f41 Issue #16840: Turn on support of bignums only in final release of Tcl 8.5. 2015-04-20 14:05:37 +03:00
Serhiy Storchaka
9aa16d93c9 Issue #23842: os.major(), os.minor() and os.makedev() now support ints again. 2015-04-20 09:21:23 +03:00
doko@ubuntu.com
9e7ece271f - Use PLATDIR for the platform directory everywhere (refactoring only) 2015-04-13 21:55:08 +02:00
Serhiy Storchaka
461295443f Issue #21859: Corrected FileIO docstrings. 2015-04-10 16:08:33 +03:00
Benjamin Peterson
9c5a8d4e23 remove extra arguments in arg parsing format codes (closes #23875) 2015-04-06 13:05:22 -04:00
Serhiy Storchaka
f29bc70bff Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
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.
2015-04-04 12:42:25 +03:00
Serhiy Storchaka
37943b07fe Issue #23338: Fixed formatting ctypes error messages on Cygwin.
Patch by Makoto Kato.
2015-04-04 10:05:35 +03:00
Serhiy Storchaka
c77c5b5f03 Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and
arbitrary precision integers added in Tcl 8.5.
2015-04-02 18:46:30 +03:00
Victor Stinner
31c7e4fb1a Issue #23834: Fix socket.sendto(), use the C long type to store the result of
sendto() instead of the C int type.
2015-04-02 17:19:17 +02:00
Serhiy Storchaka
cba6b5d045 Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. 2015-04-02 10:35:57 +03:00
Benjamin Peterson
a5a44aba3f remove assignment in conditional 2015-04-01 11:16:40 -04:00
Serhiy Storchaka
96d8012964 Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. 2015-03-30 10:00:49 +03:00
Serhiy Storchaka
aa64c46ac9 Issue #23781: Add private helper function _PyErr_ReplaceException() that
corresponds _PyErr_ChainExceptions() in Python 3 to help porting patches
from Python 3.
2015-03-30 09:48:42 +03:00
Serhiy Storchaka
f95a57f9a1 Issue #21802: The reader in BufferedRWPair now is closed even when closing
writer failed in BufferedRWPair.close().
2015-03-24 23:23:42 +02:00