summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Introduce and check for MPD_VERSION_HEX for precise management of buildsStefan Krah2014-08-262-4/+8
| | | | with an external libmpdec.
* Issue #22090: Fix '%' formatting for infinities and NaNs.Stefan Krah2014-08-261-4/+7
|
* Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.Serhiy Storchaka2014-08-191-0/+16
|
* - Issue #22176: Fix build failure on ARM with ↵doko@ubuntu.com2014-08-092-3/+26
| | | | -Werror=declaration-after-statement
* - Issue #22176: Add src/x86/win32.S for x86 libffi builds.doko@ubuntu.com2014-08-092-2/+2
|
* - Issue #22176: Update the ctypes module's libffi to v3.1. This releasedoko@ubuntu.com2014-08-09135-13698/+28236
| | | | | adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
* Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-092-25/+8
| | | | types. Corrected error messages about bytes arguments.
* 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 bytes arguments passed to Tk.Serhiy Storchaka2014-07-301-2/+2
| | | | In particular this allows to initialize images from binary data.
* Issue #21704: Fix build error for _multiprocessing when semaphoresRichard Oudkerk2014-07-281-0/+2
| | | | are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
* Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowErrorVictor Stinner2014-07-261-2/+9
| | | | on closed socket. repr(socket.socket) already works fine.
* Issue #22044: Fixed premature DECREF in call_tzinfo_method.Raymond Hettinger2014-07-251-7/+7
|
* 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-0/+11
| | | | | | 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
|
* Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requiresVictor Stinner2014-07-071-1/+1
| | | | size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".
* 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 #8677: make the zlib module "ssize_t clean" for parsing parametersVictor Stinner2014-07-011-0/+1
|
* Closes #21780: make the unicodedata module "ssize_t clean" for parsing ↵Victor Stinner2014-07-011-2/+8
| | | | parameters
* Issue #21781: Make the ssl module "ssize_t clean" for parsing parameters.Victor Stinner2014-07-011-2/+9
| | | | ssl.RAND_add() now supports strings longer than 2 GB.
* Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format CVictor Stinner2014-07-011-2/+3
| | | | size_t, because %zi/%u is not supported on all platforms.
* Fix typo in socket.getaddrinfo() docstring.Berker Peksag2014-06-301-4/+4
| | | | Reported by Krishna Kumar Thakur on docs@.
* Issue #21858: Better handling of Python exceptions in the sqlite3 module.Victor Stinner2014-06-261-16/+26
|
* 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.)
* PyErr_NormalizeException doesn't like being called with an exception setSerhiy Storchaka2014-06-113-12/+12
| | | | (issues #21677, #21310).
* Issue #21310: Fixed possible resource leak in failed open().Serhiy Storchaka2014-06-091-9/+27
|
* Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.Serhiy Storchaka2014-06-092-0/+2
|
* Issue #21639: Fix name of _testcapi test functionsVictor Stinner2014-06-021-2/+2
|
* Issue #17095: Fix Modules/Setup *shared* support.Ned Deily2014-06-022-6/+16
| | | | Original patch by Thomas Wouters.
* Fix the comment to not refer to the removed end_fd parameter.Gregory P. Smith2014-06-011-2/+2
|
* Don't restrict ourselves to a "max" fd when closing fds before exec()Gregory P. Smith2014-06-011-43/+44
| | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed.
* Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+35
| | | | the tkinter module on 64-bit platforms.
* Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulrSerhiy Storchaka2014-05-281-2/+22
| | | | 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 by Matti Picus.
* Issue #20998: Fixed re.fullmatch() of repeated single character patternSerhiy Storchaka2014-05-143-19/+17
| | | | with ignore case. Original patch by Matthew Barnett.
* Issue #21497: faulthandler functions now raise a better error if sys.stderr isVictor Stinner2014-05-141-0/+4
| | | | | None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType' object has no attribute 'fileno'").
* Backed out changeset 6ceedbd88b5fVictor Stinner2014-05-141-10/+6
|
* Issue #21488: Add support of keyword arguments for codecs.encode and ↵Victor Stinner2014-05-141-6/+10
| | | | codecs.decode
* use logical rather than bit andBenjamin Peterson2014-05-111-1/+1
|
* Issue #21435: Segfault in gc with cyclic trashTim Peters2014-05-081-11/+23
| | | | | Changed the iteration logic in finalize_garbage() to tolerate objects vanishing from the list as a side effect of executing a finalizer.
* Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵Antoine Pitrou2014-05-081-4/+5
| | | | | | flush() on the underlying binary stream. Patch by akira.
* Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0.Larry Hastings2014-05-041-12/+12
| | | | In porting to Argument Clinic, the first two arguments were reversed.
* Issue 21375: Fix possible Py_ssizet overflow in heapq.Raymond Hettinger2014-05-031-8/+8
|
* Issue #21374: Fix pickling of DecimalTuple.Stefan Krah2014-04-291-4/+9
|
* Issue #21321: itertools.islice() now releases the reference to the source ↵Antoine Pitrou2014-04-291-3/+22
| | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev.
* Fixes for KFreeBSD and the Hurd:doko@ubuntu.com2014-04-171-1/+1
| | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
* #15840: make docs consistent by saying operations on closed files raise ↵Andrew Kuchling2014-04-161-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 implementations 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 conditional code for android's lack of definition of SYS_getdent64.Gregory P. Smith2014-04-141-0/+6
| | | | | | Fixes issue20307. No Misc/NEWS entry because frankly this is an esoteric platform for anyone to be figuring out how to cross compile CPython for.
* merge 3.3Benjamin Peterson2014-04-141-4/+5
|\