summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka2014-09-112-3/+7
| | | | character instead of truncate it. Based on patch by Victor Stinner.
* Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command withSerhiy Storchaka2014-09-111-0/+4
| | | | | | | empty string or tuple argument. On some platforms Tcl memory allocator returns NULL when allocating zero-sized block of memory.
* Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.Serhiy Storchaka2014-09-111-12/+28
| | | | | ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL if the memory allocation fails.
* - Issue #22381: Update zlib to 1.2.8.doko@ubuntu.com2014-09-1143-3181/+7793
|
* Issue #20421: Add a .version() method to SSL sockets exposing the actual ↵Alex Gaynor2014-09-041-0/+13
| | | | | | protocol version in use. Backport from default.
* PEP 466: backport hashlib algorithm constants (closes #21307)Benjamin Peterson2014-08-281-1/+65
|
* fix load_verify_locations on unicode paths (closes #22244)Benjamin Peterson2014-08-281-8/+24
|
* don't segfault when trying to fdopen() a fd for a dir (closes #22259)Benjamin Peterson2014-08-241-1/+1
| | | | Patch from Brian Kearns.
* fix error message for invalid curve nameBenjamin Peterson2014-08-211-1/+5
|
* Backed out changeset 7c19f1f792c6Benjamin Peterson2014-08-201-2/+5
|
* don't call rl_initialize when stdout is not a ttyBenjamin Peterson2014-08-201-5/+2
|
* PyUnicode -> PyString and PyLong -> PyIntBenjamin Peterson2014-08-201-4/+4
|
* backport many ssl features from Python 3 (closes #21308)Benjamin Peterson2014-08-202-468/+4387
| | | | | A contribution of Alex Gaynor and David Reid with the generous support of Rackspace. May God have mercy on their souls.
* Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.Serhiy Storchaka2014-08-191-0/+16
|
* Removed useless Py_LIMITED_API checks.Serhiy Storchaka2014-08-171-2/+0
| | | | | Support for Py_LIMITED_API was introduced in Python 3.2. Thanks Arfrever Frehtes Taifersar Arahesis.
* - Issue #22176: Update the ctypes module's libffi to v3.1. This releasedoko@ubuntu.com2014-08-10135-13677/+28329
| | | | | adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
* Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particularSerhiy Storchaka2014-08-061-11/+17
| | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method.
* Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"Serhiy Storchaka2014-07-311-0/+28
| | | | | | configure options of tkinter.PhotoImage. Added private Tkapp method _createbytearray().
* Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowErrorVictor Stinner2014-07-261-2/+9
| | | | on closed socket.
* socketmodule.c: backport INVALID_SOCKET from Python 3.5 to simplify the codeVictor Stinner2014-07-261-14/+5
|
* Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")Victor Stinner2014-07-241-1/+5
| | | | does crash on Mac OS X which uses libedit instead of readline.
* Issue #19884: readline: Disable the meta modifier key if stdout is not aVictor Stinner2014-07-241-2/+13
| | | | | | terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit characters.
* Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
|
* properly decref the return value of close()Benjamin Peterson2014-07-051-3/+5
|
* Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,Victor Stinner2014-07-021-2/+2
| | | | it ignored I/O errors if at least the first C call read() succeed.
* Issue #19145: Fix handling of negative values for a "times" keyword ↵Raymond Hettinger2014-06-251-2/+5
| | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.)
* Issue #21310: Fixed possible resource leak in failed open().Serhiy Storchaka2014-06-091-9/+21
|
* backport hashlib.pbkdf2_hmac per PEP 466 (closes #21304)Benjamin Peterson2014-05-311-0/+225
| | | | Backport by Alex Gaynor.
* Fixed possible integer overflow in getint, getdouble and getboolean too ↵Serhiy Storchaka2014-05-301-0/+3
| | | | (issue #21552).
* Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+32
| | | | the Tkinter module on 64-bit platforms.
* Issue #10203: sqlite3.Row now truly supports sequence protocol. In particularSerhiy Storchaka2014-05-281-2/+24
| | | | it supports reverse() and negative indices. Original patch by Claudiu Popa.
* support pep 3118 format strings for ctypes objects with nontrivial shapes ↵Benjamin Peterson2014-05-173-11/+61
| | | | | | (closes #10744) Patch from Matti Picus.
* use logical rather than bit andBenjamin Peterson2014-05-111-1/+1
|
* cast away warningsBenjamin Peterson2014-05-111-2/+2
|
* backport hmac.compare_digest to partially implement PEP 466 (closes #21306)Benjamin Peterson2014-05-111-0/+128
| | | | Backport from Alex Gaynor.
* Issue 21375: Fix possible Py_ssizet overflow in heapq.Raymond Hettinger2014-05-031-8/+8
|
* Issue #21321: itertools.islice() now releases the reference to the source ↵Antoine Pitrou2014-04-291-3/+10
| | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev.
* Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_ResizeKristján Valur Jónsson2014-04-253-48/+25
|
* #15840: make docs consistent by saying operations on closed files raise ↵Andrew Kuchling2014-04-151-2/+2
| | | | | | | | | | | | ValueError. Patch by Caelyn McAulay. Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an operation on a closed stream raised IOError; generally the C implementation have a macro to check for the stream being closed, and these macros all raised ValueError. If we find any, a new bug should be opened.
* add missing NULL checkBenjamin Peterson2014-04-141-5/+9
|
* when an exception is raised in fdopen, never close the fd (changing on my ↵Benjamin Peterson2014-04-141-14/+27
| | | | mind on #21191)
* disallow a negative idx parameterBenjamin Peterson2014-04-141-8/+10
|
* in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-141-2/+8
| | | | | | index Bug reported by Guido Vranken.
* make sure fdopen always closes the fd in error cases (closes #21191)Benjamin Peterson2014-04-091-4/+12
|
* fix overflow detection of strop.expandtabsBenjamin Peterson2014-03-311-13/+15
|
* Issue #6676: Ensure a meaningful exception is raised when attemptingNed Deily2014-03-271-1/+1
| | | | | | to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David Gutteridge)
* fix ctypes test alignment assumptions (closes #20946)Benjamin Peterson2014-03-161-3/+3
| | | | Patch by Andreas Schwab.
* #13530: port to 2.7 branch (document what os.lseek returns).Georg Brandl2014-03-111-1/+2
|
* Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-16/+81
| | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
* finish backing out #19081Benjamin Peterson2014-02-161-241/+53
|