Commit Graph

6168 Commits

Author SHA1 Message Date
Benjamin Peterson
9dcab59b08 fix test where sizeof(long) != sizeof(int) 2014-11-06 00:52:58 -05:00
Steve Dower
31221a7285 Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large structs). Patch by mattip 2014-11-05 19:16:05 -08:00
Antoine Pitrou
06c14976dc Issue #22773: fix failing test with old readline versions due to issue #19884. 2014-11-04 14:52:10 +01:00
Benjamin Peterson
93c41335ab allow keyfile argument to be None (closes #22787) 2014-11-03 21:12:05 -05:00
R David Murray
55bf20ad6e #13096: Fix segfault in CTypes POINTER handling of large values.
Patch by Meador Inge.
2014-10-12 14:26:30 -04:00
Benjamin Peterson
3d1f2d3b52 make _socket.socket weakrefable (closes #22569)
Patch from Alex Gaynor.
2014-10-06 14:38:20 -04:00
Georg Brandl
fe3c80ba16 Closes #19342: improve docstrings in grp module. 2014-10-02 08:34:41 +02:00
Benjamin Peterson
2f33456e41 fix sslwrap_simple (closes #22523)
Thanks Alex Gaynor.
2014-10-01 23:53:01 -04:00
Benjamin Peterson
bc4ece5775 allow longs as indexes to group() (closes #22530) 2014-09-30 22:04:28 -04:00
Benjamin Peterson
1c873bf77d clear BufferedRWPair weakrefs on deallocation (closes #22517) 2014-09-29 22:46:57 -04:00
Berker Peksag
b5dc3dcb92 Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
Patch by Terry Chia.
2014-09-24 12:54:25 +03:00
Serhiy Storchaka
0aa6562913 Issue #21147: sqlite3 now raises an exception if the request contains a null
character instead of truncate it.  Based on patch by Victor Stinner.
2014-09-11 13:27:19 +03:00
Serhiy Storchaka
17c01785ee Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command with
empty string or tuple argument.

On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
2014-09-11 10:56:59 +03:00
Serhiy Storchaka
1c09c0ea11 Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
2014-09-11 10:38:08 +03:00
doko@ubuntu.com
77a64bfdf7 - Issue #22381: Update zlib to 1.2.8. 2014-09-11 08:32:46 +02:00
Alex Gaynor
e98205d798 Issue #20421: Add a .version() method to SSL sockets exposing the actual protocol version in use.
Backport from default.
2014-09-04 13:33:22 -07:00
Benjamin Peterson
0062d1e7f4 PEP 466: backport hashlib algorithm constants (closes #21307) 2014-08-28 09:41:29 -04:00
Benjamin Peterson
876473eba3 fix load_verify_locations on unicode paths (closes #22244) 2014-08-28 09:33:21 -04:00
Benjamin Peterson
e373754056 don't segfault when trying to fdopen() a fd for a dir (closes #22259)
Patch from Brian Kearns.
2014-08-24 10:37:12 -05:00
Benjamin Peterson
7ed3e29723 fix error message for invalid curve name 2014-08-20 21:37:01 -05:00
Benjamin Peterson
b47b54c7f8 Backed out changeset 7c19f1f792c6 2014-08-20 17:30:40 -05:00
Benjamin Peterson
64c1215b5d don't call rl_initialize when stdout is not a tty 2014-08-20 16:03:43 -05:00
Benjamin Peterson
cbb144afc0 PyUnicode -> PyString and PyLong -> PyInt 2014-08-20 14:25:32 -05:00
Benjamin Peterson
daeb925cc8 backport many ssl features from Python 3 (closes #21308)
A contribution of Alex Gaynor and David Reid with the generous support of
Rackspace. May God have mercy on their souls.
2014-08-20 14:14:50 -05:00
Serhiy Storchaka
cbee972e35 Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows. 2014-08-19 17:03:42 +03:00